I want to show the version of my iOS 9 app made with Swift.
What I did
I know how to get the version (
let version: String = NSBundle.mainBundle().infoDictionary!["CFBundleShortVersionString"] as! String
Its not allowed to use any
UIViewController in LaunchScreen thus what other applications does is place a
UILabel in LaunchScreen xib/Storyboard and write their version number as text.
There is no other away, don't waste your time searching you will get the following error if you tried to set custom class :
error: Illegal Configuration: Launch screens may not set custom classnames