Open app in landscape mode ?

Discussion in 'iOS Development' started by ipodmail09, Jul 6, 2009.

  1. ipodmail09

    ipodmail09 Member

    Joined:
    Mar 13, 2009
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    well like in the heading how do you launch your application in landscape mode ?
  2. David.

    David. Active Member

    Joined:
    Feb 24, 2009
    Messages:
    2,565
    Likes Received:
    1
    Device:
    4G iPod touch
    It has to be built into the app to go landscape when you turn your iPod touch.
  3. ipodmail09

    ipodmail09 Member

    Joined:
    Mar 13, 2009
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    and how do you do that ?
  4. cocotutch

    cocotutch Community Development Team Staff Member

    Joined:
    Oct 6, 2008
    Messages:
    1,285
    Likes Received:
    117
    Device:
    5G iPod touch
    Code:
    application.statusBarOrientation = UIInterfaceOrientationLandscapeRight;
    application.statusBarOrientation = UIInterfaceOrientationLandscapeLeft;
    Choose one of those according to which hand you want the home button to be under, chuck it in your App Delegate M file under "applicationDidFinishLaunching" it should do it on launch --as in no visible switch or delay -- hope it works...

    cocotutch
  5. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    There's an Info.plist tag you can set as well.
  6. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Code:
    UIInterfaceOrientation
  7. ipodmail09

    ipodmail09 Member

    Joined:
    Mar 13, 2009
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    thanks it worked now to post it in the app store

    Please Register or Log in to view images

  8. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    Hopefully the app does more than just open in landscape mode.
  9. ipodmail09

    ipodmail09 Member

    Joined:
    Mar 13, 2009
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    yer thats all it does ... wounder what apple will say..

    @Skylar just want to know has anyone bought your app pocket Elf ? [looks good but the holiday season is over

    Please Register or Log in to view images

    ]

Share This Page