-
1. Re: Black screen on orient after startup on iOS
Jan-F-W Oct 30, 2014 8:12 AM (in response to Sean @ Cupcake)An easy fix might be to just enable auto orientation a short while after application has been launched (stage.autoOrients = true;) and -like you said- set autoOrientation to false in app.xml.
-
2. Re: Black screen on orient after startup on iOS
Colin Holgate Oct 30, 2014 8:40 AM (in response to Jan-F-W)The problem is that the first thing you see happens before the app has started.
It appears to be an iOS 8 issue, and not an AIR or iPhone 6+ one. If I open any app that is a landscape app on my iPhone 5, the initial launch screen is going to be upside down one way or another. For example, Contre Jour happens to have a splash screen designed for the home button being on the left (which is incorrect, but still), and so it looks correct when the home button is on the left, but upside down when the button is on the right.
For most other apps, that have the landscape screen correct (based on the home button being on the right), the behavior is the opposite, like you are seeing.
You could try settings auto orient to be off, and then turn it on in your code, but I think it won't fix the problem. It's as if iOS shows the first screen based on how you should be holding the device, not how you're actually holding it. Maybe Apple are trying to train us to hold it correctly.
-
3. Re: Black screen on orient after startup on iOS
Colin Holgate Oct 30, 2014 10:51 AM (in response to Sean @ Cupcake)Here's one interesting thing:
Unity - Unity Patch Release 4.5.5p1
Those are Unity bug fixes, one of which is "(634276) - iOS: Work around an Xcode splash screen bug in iOS 8 landscape iPhone apps.", which both backs up what I was saying about it being an iOS 8 iPhone problem, but also suggests that it's possible to work around the issue,
-
4. Re: Black screen on orient after startup on iOS
Colin Holgate Oct 31, 2014 6:45 AM (in response to Colin Holgate)An app I submitted using AIR 15 build 349, which included both variations of the spelling of the iPhone 6 & 6+ splash screens, still goes through a black screen on startup. That's under iOS 8.1.
So, I guess AIR isn't quite fixed yet!



