I'm a very new to iOS. My Xcode version is 7.2.1 and I'm trying to run on iOS9 using Swift. My problem is that I'm very confused with how I should be creating the Launch Screen Image. I found that there are many ways of creating the launch screen images for different version of iOS. Can someone please explain to me how to setup my launch images?
The process I've followed is:
- I create Launch Screen.storyboard I create different sizes of launch screen images in Photoshop.
- In General tab, Choose Main Interface "Main".
- In App icons and launch images> Launch images source "Brand Assets".
- I click on the arrow beside of Brand Assets, and then I put different sizes of images. (iPhone- iOS 8,9 , iPad- iOs 7-9 (Portrait and landscape), iPhone portrait).
- Launch Screen File is "empty". I didn't choose anything.
- After all I run on iPhone 5 simulator. It did not show anything and just black screen appear.
One thing I want to know is that do I need to put a UIImageView
in my Launchscreen.storyboard
?
Isn't it automatically retrieved from the Images.xcassets
folder?
LaunchScreen.storyboard
, or static images stored in a xcasset prerendered for each devices screens dimensions, not both. – MananaView Controller
inside theLaunchScreen.storyboard
is what you will layout. Labels, image views, whatever you need/want. Refer to @NikhilModi's answer to point your project to the storyboard. – Manana