the following method has caused problem cannot fix. splash screen status bar landscape (returns portrait @ rootviewcontroller).
code:
- (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation { if (interfaceorientation == uiinterfaceorientationlandscaperight) return yes; return no; }
to find solution, have literally disconnected whole storyboard root view controller, set new root view controller dragging 'view controller' object object library onto storyboard, , run app on phone , simulator, , still same thing.
there setting in plist need change? have no idea why change happened, cannot app launch splash screen status bar in portrait mode.
have tried 'initial view portrait' property in plist, no avail.
please help, i'm having nightmare. bug?
i'm confused...
happening right now?
want have happen?
edit: if had guess, might want change
uiinterfaceorientationlandscaperight uiinterfaceorientationportrait
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment