5
votes

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!

2

2 Answers

4
votes

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.

1
votes

You could check for correct upper/lower case letters. The simulator is not case sensitive, e.g. it will gladly accept a defAULT-PORtrait.png file. Your iOS device, on the other hand, is case sensitive.

More specifically, I noticed that your files are called :

Maybe it will help to dublecheck the spelling for all files, and asset catalogues to make sure they are consistent with your info.plist file.