Search code examples
iosxcodeios8xcode-storyboard

Launch Images vs Storyboards in iOS app development


I have been struggling lately to understand this new storyboard concept introduced in iOS 8.0.

Question 1

So far I have been using launch images, but now I got curios about storyboards as they seem to remove the need of specifying multiple launch image files per supported screen.

So, if my launch image consisted in a red background with a text (all in an image), all I have to do now is designing a ViewController with red background and a text in the middle?

Are those understandings correct?

Question 2

  • If I use storyboards, should I stop using launch images?
  • If so, just removing the Images.xcassets folder is enough? Or maybe leave the launch LaunchImage subdirectory empty as icons are still needed...

Solution

    • Q1: Basically, yes.

    • Q2: You do not need to "remove" anything. This a target-level setting; specify a launch screen file instead of a launch images source:

    enter image description here

    Note that this is the default in a new project, so it's easy to try it out and see for yourself.