I'm having some trouble on showing a launch screen only on my real iPad Mini device. When I run my app, a blue screen is shown instead. I'm using an asset catalog to include the images. When I run on iPhone or on iPad 2 Simulators the launch screen shows perfectly! Inside the Contents.json file in my asset catalog there are 4 images for iPad. They are:
- Default-portrait.png (768x1004)
- [email protected] (1536x2008)
- Default-Landscape.png (1004x768)
- [email protected] (2008x1536)
The Status Bar Style "Hide during application launch" option inside info.plist is unchecked.
I've followed the Managing Launch Screens with Asset Catalogs steps in Xamarin Launch Screen guide: http://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/launch-screens/#asset-catalogs
If someone knows what my mistakes are, please let me know! =]
PS: Sorry for the bad English!
If your project doesn't contain a default launch screen file, add a launch screen file and set the launch screen file for the target in the project editor. Choose File > New > File. Under User Interface, select Launch Screen, and click Next.
The LaunchScreen. storyboard is an interface builder storyboard file that uses auto-layout and some basic constraints on the controls to adjust the display for all the supported devices. Perform this task in the copy of the DeploymentKitApp in Xcode on your computer.
Like James Montemagno and Kevin Mullins answered in this post Launch Screen, the new iOS devices need to use Storyboard instead of Assets Catalogs. I create a Storyboard and it works perfectly now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With