Unexpected rotation of splash screen with portrait iPhone app launched on landscape iPad
My app is portrait only, so is my splashscreen (Default.png). When I launch my iPhone app on my iPad in landscape mode, just after displaying the splashscreen, the orientation change and the splashscreen is truncated (because it's 320x480 portrait mode, not landscape…), then the first window is displayed in portrait mode…
The same problem appears in Kitchensink… To check, install Kitchensink iPhone on an iPad (not the iPad version…), turn the iPad ton landscape and launch Kitchensink…
How can I avoid this orientation ?
2 Answers
-
It's true for iPad apps, not for iPhone apps running on iPad… (and Default-Landscape.png doesn't work either)
Since my question, I've found a solution by changing the UISupportedInterfaceOrientations key in info.plist…
My app is now on the store so I guess it's ok ;)
I'm working on an iPad version, but's it's not really copy & paste because you have to deal with bigger screen and splitview… But I think that 80% of the code is the same (in my case).
-
Apple's Human Interface Guidelines require that an iPad app must be able to run in both portrait and landscape orientation. So maybe add Default-Portrait.png and Default-Landscape.png may help…
Btw, it is literally copy & paste to create a separate iPad version for your app, so why not do that?