IOS7 forcing portrait mode

Hi,
I updated to iOS7 on my iPad so tht I could test the functionality of an application that is currently deployed on iOS6.  The application is published with the Landscape aspect ratio, Auto orientation unchecked and standard resolution.  When I launch the App on iOS7 it wil only display in portrait mode.  Does anyone have an explanation/solution for this?
Best regards,
Chris McLaughlin

I had this same issue with two of our apps that were compiled a long time ago under AIR 3.6 and did NOT use Native Extensions (and thus were linked against an older version of the Apple iOS SDK).
Two of our apps supported landscape only, but on iOS7 they displayed in portrait mode, so most of the UI wasn't visible and the apps became unusable under iOS7.
After I rebuilt them under AIR 3.8 & 3.9, they correctly displayed in landscape mode, but with one small caveat that I encountered. The new version of the apps (under Air 3.8) would launch upside down on iOS7, but only when the home button of the device was on the left.
I eventually fixed the issue by adding a Native Extension and then linking that native extension against the Apple iOS5 SDK. When nothing was specified for the Apple iOS SDK, the app would launch upside down. After linking to iOS5 SDK the problem went away.
You can specify the Apple iOS SDK in :
Project->Properties->ActionScript Build Packaging->iOS->NativeExtensions->Apple iOS SDK.

Similar Messages

  • Flex mobile orientation: force portrait mode and then allow auto orientation

    I'm creating a flex mobile project and I want to force the app to portrait orientation when I click a button, and when I click other button allow again to change the orientation.
    This is my code when I click the first button, where I want to force portrait mode:
    protected function click(event:MouseEvent):void{      if(stage.orientation != StageOrientation.DEFAULT){           stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged);           stage.setOrientation(StageOrientation.DEFAULT);      }else{           doSomething();      }  }  
    private function orientationChanged(event:StageOrientationEvent):void{      doSomething();      stage.removeEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged); } 
    private function doSomething():void{      stage.autoOrients = false; }
    It works ok and it changes the orientation if it's needed.
    Now, when I want to allow orientation change again, I've only putted:
    stage.autoOrients = true;
    It works ok if when I click the first button the app is in portrait and it doesn't have to change anything. But if it's on landscape and it have to change to portrait, when I allow orientation change again, it doesn't work ok.
    Do you know if I have to allow or change something? Or, is there any better way to do this?
    Thanks in advance

    Thanks for your answer. It works, but I have the same problem that I have setting the orientation. If I'm on landscape, it changes to Portrait ok, but when I want to allow auto orientation again, it doesn't work well.
    A little tricky I've found is:
    When I want to force to portrait:
    private var oldOrientation:String = null;
    protected function click(event:MouseEvent):void{
       if(stage.orientation != StageOrientation.DEFAULT){
                oldOrientation = stage.orientation;
                stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged);
                stage.setOrientation(StageOrientation.DEFAULT);
       }else{
                doSomething();
    private function orientationChanged(event:StageOrientationEvent):void{
                // do something if you are changing to portrait mode (the first change) and other thing if you are changing to old orientation
    And when I want to allow auto orientation again:
    if(oldOrientation != null){
            stage.setOrientation(oldOrientation);
            oldOrientation = null;             

  • [Lollipop] Turning Auto-rotate off forces portrait mode

    In various situations, I like to use my tablet in landscape mode, but turn auto-rotate off (watching movies/streams while lying down).
    I do this using the pull-down quick menu. After the update to lollipop however, whenever I turn off "Auto-rotate", the button's name will switch to "Portrait" and my tablet (and app) will rotate into portrait mode, even if it was in landscape mode when I pressed the button. I reckon this is done with e-books in mind, but for my purposes this makes this feature useless.
    Is there any way to restore the original behaviour (tablet stays in the orientation it was in when you decide to turn off Auto-rotate)? If there is not currently, I urge you to change it back to the old way (other lollipop tablets seem to have the old behaviour still from what I could gather from friends).

    uliwooly wrote:
    That's the way it's supposed to work 
    Well, that just sounds like an opinion. Do you have any source for that? As I said, my friends' other tablets behave differently.
    Is there anyone from Sony around who can shed some light on this or make inquiries? Or is this a users-help-users-only support forum?
    And @Johnny_dee, please don't hijack threads. The whole discussion now is about a whole other topic. Just open a new topic.
    (maybe some nice moderator could split the topic?)

  • Lock portrait mode

    Greetings,
    Perhaps I'm missing something, I've looked for it anywhere I could think. How do you lock portrait mode on this phone? I disabling auto rotate doesn't keep your phone from going into landscape mode. It's a very basic functionality that I'm desperately missing.

    There's no setting in the phone that allows you to force portrait mode. Even if you turn off auto rotation under Settings -> Display an app may switch to landscape. many games do this for example but if you place the phone in the docking station it will also rotate.
    There are some 3:rd party apps that can force portrait like https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.setorientation but if you try to run an app that's designed for landscape it might not work properly.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How can I return maps to portrait mode in iOS7 ?

    While on my way to meeting today and iPhone maps doing it's usual poor job of being a map, it somehow turned to landscape mode.  How do you switch it back to portrait mode?

    are you trying to play audio/music on both the SBH52 and the loud speaker?
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Mail and Messages freeze in landscape/portrait mode

    When in Messages and Mail, my iPhone 5 freezes in landscape or portrait mode.  I can continue to type, edit, etc. but can only get it to rotate after pressing 'Home' button or closing and re-opening app.  I am running 8.0.2.  I notice it most when taking a break for Mail or Messages and turning phone off and when I turn back on.  I'm guessing it is a bug and not a hardware problem because I can always get it to clear by just pressing home or closing app.

    Hello there, HoosierZach1979.
    Great job in coming up with a good workaround for your issue with Mail and Messages. For issues regarding iOS not functioning as expected, the following Knowledge Base article provides a great and practical list of steps for troubleshooting:
    iOS: Not responding or does not turn on
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected,  restart your device.
    If the device remains unresponsive or does not turn on (or power on),  reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Landscape and portrait mode

    My iPad is slow between rotating from landscape o portrait mode at the home screen. In apps though it is very fast. Anybody know why? It hasn't always been like this

    Hi,
    Try restarting your iPad.
    Press and hold the Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPad. To turn iPad back on, press and hold the Sleep/Wake until the Apple logo appears.
    See if that made a difference.
    If not, you may have an app that needs "force quitting" ...
    Try this... Press and hold the Sleep/Wake button on top of iPad for a few seconds until a red slider appears, then press and hold the Home button until the application quits.
    Try again. If it's still slow, connect your iPad to your computer, launch iTunes. Check available storage at the bottom of the iTunes window. Might be a good idea to have at least 10% free space available.
    Carolyn

  • Recent netflix upgrade forces landscape mode. now unable to watch on a docking station

    it doesnt make sense for netflix to force landscape mode to view movies. The ipad is designed to be able to be viewed in both landscape and portrait and there is a plug at the bottom of the ipad to charge and allow it to dock in an upright position. PLease how can we tell netflix to change it back?> Netflix support tells me it is Apple who changed it but i cant talk to Apple unless i pay money .
    any APP developers listening?

    I'd love to see your copy of your conversation with Netflix, schwartz43o.
    I have been trying to talk to Netflix CS via Twitter about this issue since the April update. Every time I mention it, at first, they are all confused and ask me if I'm getting an error message. Then they come back and say, "Oh, yeah. We removed that feature. Thanks for the feedback; we'll pass it on." The absolute worst response was when I mentioned the Kindle Fire allows portrait viewing. "Some tablets have different capabilities, but we are constantly striving for a uniform experience." Um, hello. We HAD a uniform experience until you took it away.
    I don't understand what the "post play" feature has to do with screen orientation. Granted, I'm not a programmer, developer or any kind of computer whiz. But I would like to think that those two areas would be separate from each other.
    I'd honestly trade the two seconds it takes me to hit play on the next episode, for the ability to utilize my iPad's portrait orientation the way I want to.

  • Is there a way to create and edit a video in portrait mode / 9:16 in Premiere Elements 12 or 13. Playback on an iPhone in portrait position.

    I'm editing iPhone app video for posting as the first screen in the Apple app store. Required size for the video is 750:1334, 9:16. I there a way to setup the initial video in portrait mode? Many posts for how to rotate a specific clip, but I need the whole video in portrait position. How to accomplish this? I'm using Windows 7 and Premiere Elements 12 and now 13.

    LaurieFrick
    Thanks for giving this portrait Edit area monitor shape a look.
    I have Windows 7 64 bit and Windows 8.1 64 bit and have done the work using Premiere Elements 12/12.1 on Windows 7 64 bit.
    Here is a step by step
    Find the DSLR [email protected] file
    Local Disk C\Program Files\Adobe\Adobe Premiere Elements 12\Settings\SequencePresets\NTSC\DSLR\1080p\
    And, in that 1080p Folder is the DSLR 1080p30@ 29.97.sqpreset file that you seek.
    1. Copy the
    DSLR 1080p30@ 29.9.sqpreset fileI
    and paste it to the computer desktop in a newly created folder named 1920p.
    2. Open the 1920p Folder and edit the ..sqpreset file in Notepad.
    To do that right click the .sqpreset, and, from the pop up, select Open With and then Notepad.
    3. In the Notepad document, you are going to edit in only 2 places for now, switching 1920 and 1080 to 1080 and 1920 at the top and bottom
    sections of the Notepad document.
    Then go specifically File Menu/Save of the Notepad document and hit Save.
    4. At this point, you have the edited.sqpreset file in the 1920p Folder on the computer desktop.
    (Change the name of the edited .sqpreset file so that it = DSLR [email protected])
    Move the 1920p Folder from there to add it to the 1080p Folder, the location where you found the original .sqpreset file that you edited.
    Close out of there.
    5. Back in the Premiere Elements 12/12.1, manually set the project preset to the new project preset
    6. When you import your 1080 x 1920 9:16 video file into the project and drag it into the Timeline, you should see
    Note that there is no orange line over that Timeline content, indicating that you are seeing
    the best possible preview of the image.
    7. As I wrote before,
    But, here is the hang up. If I render the Timeline content to get the best possible preview at the Edit level, the video in the Edit area monitor
    squeezes in resulting in black borders to the left and right of the video image on screen.
    But, otherwise I found I had no problems editing or exporting, just had to keep away from Timeline rendering for previewing after an edit. Need to find the missing ingredient for 100%.
    I will be writing this up in my blog in a more organized fashion including how I got the project preset description in Change Settings to agree with the changes. Probably I will do that in the morning.
    ATR

  • When I save photos or videos from my iPhone 4S to my PC they are all sideways.  Is there a way to prevent this from happening?  All are taking with the phone in portrait mode.

    When I save photos or videos from my iPhone 4S to my PC they are all sideways.  Is there a way to prevent this from happening?  All are taken with the phone in portrait mode.

    Shot videos ONLY in landscape. For photos choose what's you like. Maybe you have to rotate photos on PC. What's your operating system?

  • HT3382 With a MacbookAir (mid-2012) using a mini DisplayPort to VGA adapter plugged into the Thunderbolt port, can you configure the external monitor to FULLY display in portrait mode yet keep the built-in display in landscape mode?

    With an 11"-inch Macbook Air (mid-2012) using a mini DisplayPort-to-VGA adapter plugged into the Thunderbolt port:
    Can you configure an extended desktop with an external monitor (20") displaying full portrait mode (1200 x 1600 resolution) and keep the built-in display in landscape?
    I'd like to see something like
    External monitor / Built-in display

    Yes, I can't see why not.
    Just give it a try and report back if you have a problem.

  • Can I run two Dell 24" monitors with iMac 27" (5750) in portrait mode

    Hi there, want to putchase the 5750-based iMac 27", but I have a pair of Dell 24" monitors I want to run with it, preferably both in portrait mode. Is this possible? Or if not, is it possible with some sort of adaptor/external graphics card?
    Thanks kindly for any help:)
    Shawn

    HI Shawn Glibson,
    the imac has one video output. a 30 dollar adapter can be used to hook up a DVI display. (mini-display to dv adapter)
    But you can add additional displays through a USB to DVI adapter. For instance see2 xtreame uv200 http://www.trittontechnologies.com/index.php/products/usbvideotechnology/see2-xtreme-uv200/ This is a great solution if you want to have another display for websites, office documents. a USB to DVI adapter isn't that great for 3D games.
    I hope that helps
    TT

  • Printing in Portrait mode in iCal

    I may have missed this discussion in iCal. Is it possible to print the monthly calendar in portrait mode? If so, how?

    I found the following page. It works, but there are no page margins, so if you're 3-hole punching you're out of luck.
    http://www.macosxhints.com/article.php?story=20050810034000342

  • Printing a calendar in portrait mode?

    Hello,
    Is there a way to print a calendar in portrait mode?
    Using iCal 2.0.3
    thanks,
    Jeff
    PowerBook G4 15", 1.5 ghz, superdrive, 128mb VRAM   Mac OS X (10.4.3)   3G iPod, iPod Nano

    A similar issue affects our Phaser 7300. We attempt to print landscape from iCal and it chops off the edge - the calendar is moved about an inch too far to fit onto the paper. I've tried making a PDF as well and it does the same thing printing via Preview. Even if I select portrait. However it prints fine to our Samsung B/W. Both printers are networked. And in every instance it appears fine in the print preview. I've also tried printing the PDF from Acrobat and it does the same thing. Whatever the problem is, it is originating in iCal.

  • IPhone 6 - I can only send photos via iMessage in landscape mode. The address line disappears when I try to send a portrait mode photo.

    iPhone 6 - I can only send photos in landscape mode via iMessage. The address line disappears when I try to send a portrait mode photo. Gone so far as erasing all content and settings. Problem persists.

    Howdy jackbry,
    Welcome to Apple Support Communities.
    If you haven’t already, you can try resolving the issue with not being able to send iMessages that contain portrait photos by restoring your iPhone to factory settings as shown in this article:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    So long,
    -Jason

Maybe you are looking for

  • Problem unlimited restart Nokia C7

    Hi,before 2 days i buy Nokia C7. Today i restart them and when i try start him again start "unlimited restart" 6 hours after is same problem when i try start my nokia - they start and shutdoun alone non-stop and i cant do nothing... Imposible update

  • How does W_MCAL_DAY_D table gets populated?

    Guys, I am having an issue with the table W_MCAL_DAY_D. I have the data loaded into this table till 12/31/2010. I do not see the data for the year 2011.Can anyone please help to understand how i can populate this table with the data for the year 2011

  • (AIR) out of memory error when building workspace

    Hi, I created a very simple AIR project. But during the load the workbench gave me out of memory errors. Please find below the relevant .log entries. Thanks for your help, -Rogier !SESSION 2007-06-13 14:13:10.241 eclipse.buildId=unknown java.version=

  • IPhoto is missing - 10.9.4

    Hi, I can not find iPhoto on my iMac (Maverix 10.9.4) Even if I type "iPhoto" in search I get nothing. I've tried opening App Store application and finding it there, but it has a price tag next to it. How come? Isn't iPhoto free? Please help me! rega

  • Export from 8.1.7 to 9i

    I am going to export an Oracle 8.1.7 database from an old machine and import it to Oracle 9i database on a new machine. I was wondering if the directory structure changes from the old to the new machine will this cause my import to fail or will the i