1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

Xcode 4.2 and iPad Simulator Landscape Issue

Discussion in 'iPad Development' started by arfurd, Jun 27, 2012.

  1. arfurd
    Offline

    arfurd iPF Noob

    Joined:
    Jun 27, 2012
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Warwickshire
    Ratings:
    +0 / 0
    Hi All,

    I am having an issue as in the title, I'll tell you what I am doing then maybe....Nay hopefully you will be able to help (yes Google'd and found nothing)

    I started a new project in Xcode, and chose single view application for iPad only device, and use of the story board.
    In the app settings I deselected both portrait UIIterfaceOrientation options (as to support Landscape only).

    I click on story board and see that I have already in place a View Controller, I place a single button on the View with the text "Settings".

    I then add a second view controller, and just put a label in it saying "Settings Screen". Then whilst zoomed out within storyboard, holding down the ctrl button I drag the Settings button from view1 to view2 creating a segoe, and choose modal with horizontal flip.

    Both set as landscape orientation.

    So in short with no code written, I should have an app that runs/starts in landscape and when I click the single "Settings" button the screen flips and shows the settings screen. (no more, no less)

    Well....This does happen except the iPad simulator rotates to portrait when I click the button. If manually rotate back to landscape the screen is still in portrait, just rotated sideways, so I have to tilt my head to read "Settings Screen".

    I hope this makes sense. Just to add in the view control.m file the (bool) shouldautorotate...Has already been inserted by Xcode.

    Regards
  2. arfurd
    Offline

    arfurd iPF Noob

    Joined:
    Jun 27, 2012
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Warwickshire
    Ratings:
    +0 / 0
    It could be that I'm totally missing the obvious.

    All I want to do is display a number of views, all of which are landscape oriented.

    Am I going around this the right way?

    Cheers
  3. arfurd
    Offline

    arfurd iPF Noob

    Joined:
    Jun 27, 2012
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Warwickshire
    Ratings:
    +0 / 0
    Anybody had the same issue with the Simulator just rotating on it's own?
  4. arfurd
    Offline

    arfurd iPF Noob

    Joined:
    Jun 27, 2012
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Warwickshire
    Ratings:
    +0 / 0
    Thanks for everyone's help.

    As it turns out, there is a bug in the iPad simulator.
  5. twerppoet
    Offline

    twerppoet iPad Legend

    Joined:
    Jan 8, 2011
    Messages:
    15,935
    Thanks Received:
    1,807
    Trophy Points:
    113
    Location:
    Walla Walla, WA
    Ratings:
    +1,913 / 1
    Sorry.

    This is a great forum for general, personal, and business iPad users; but I'm afraid the developer area tends to be under used (to say the least). It would be great (in my opinion) if that were to change; but I suspect that most developers use Apple's supplied forums and sites for their inquiries.

    Thanks for letting us know about the bug.
  6. arfurd
    Offline

    arfurd iPF Noob

    Joined:
    Jun 27, 2012
    Messages:
    7
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    Warwickshire
    Ratings:
    +0 / 0
    I hear what you are saying.

    I am Microsoft Developer and decided to start Apple development. Spent a fortune on the iPad and iMac and now have to pay extra to test on my own device (without jail breaking ) I will be opting in for the Apple dev program but at the moment I feel it would be dead money. To use their iOS support you need to pay for the program first.

    I guess with Apple it's a members only club.

Share This Page

Search tags for this page
ipad app xcode storyboard app landscape
,
ipad simulator
,
ipad simulator in ladscape but the view is not
,

ipad simulator landscape

,

ipad xcode landscape only

,
landscape view in storyboard xcode
,
portrait and landscape view controller storyboard xcode
,
storyboard views landscape only xcode
,
xcode app dose not start in lanscape
,
xcode creating segoe
,
xcode define landscape only view
,
xcode design landscape for ipad
,
xcode ipad horizontal screen
,
xcode ipad simulator rotate
,
xcode ipad storyboard landscape
,
xcode story landscape
,
xcode storyboard ipad landscape
,

xcode storyboard landscape

,
xcode switch to landscape storeboard
,
xcode won't rotate storyboard to lanscape