How to make my application horizontal?

Discussion in 'iOS Development' started by jast, Jan 29, 2008.

  1. jast

    jast New Member

    Joined:
    Jan 27, 2008
    Messages:
    2
    Likes Received:
    0
    Hi!

    I started programming for fun with the iPod Touch toolchain and I already managed to get started with a few buttons and fancy animations ;-) But I have one big problem I couldn't solve yet. I want to do a horizontal application! It doesn't need to switch between horizontal and vertical. I tried a lot by looking in the NES emulator code but my application stays in vertical mode. Even if I wait for a orientation change event and build up window, view and components again [UIHardware fullScreenApplicationContentRect] gives me a vertical rect. I managed to do a rotation which graphically helped to use the horizontal mode. But every interaction (buttons, sliders) which are at X>320px don't work anymore. Is there any other open source application or documentation I could read? Or do you have any other advise?

    Thanks!

    Jast
  2. jast

    jast New Member

    Joined:
    Jan 27, 2008
    Messages:
    2
    Likes Received:
    0
    Found my error! If you need any advise, write me a private message.

    Regards
    Jast

Share This Page