How to set a LaunchScreen.storyboard in Xcode 10.1

Hi all,


I created an iOS app by QML coding and using Xcode 10.1 (on macOS X) installed that app on my iPhone. The app icon I've designed for this app in the Images.xcassest of the Resources directory works fine and is nicely shown on the iPhone, but I also like to set a LaunchScreen.storyboard for that app to be nicer.


I searched the Web many times and all I found was refering to Swift or earlier versions of Xcode. What I have done are as follows:


1- Removed Launch Image in Images.xcassets in the Resources directory and added a .storyboard file this way: On the same directory -> New File -> (iOS) -> User Interface category -> Storyboard.

2- Saved that file as LaunchScreen.storyboard. Then it emerged under the Resources directory. After these, added a button and text just for testing and checked the result out using a simulator. None of the button/text was shown when launching the app!

https://pasteboard.co/I5PLOSG.png

Why, please?

Replies

When you create a new project for IOS, a launchScreen file is automatically created.


What different approach are you trying ?