The first step:
Right-click main.storyboard--delete--move to Trash
Launchscreen
Step Two
Click on the project name, which is the top level directory
The General tab appears on the right
Set the main interface in the deployment info group to NULL
Set the Launch Images source in the app Icons and Launch Images Group to a resource file
( This step is very important, if you do not set the Start page, the upper and lower will appear black edge, not suitable for large screens such as IPhone5 )
Step Three
Open Info.plist, delete Launch screen interface file base name and Main Storyboard file base name option.
Fourth Step
Specify the first page
Open Appdelegate.swift
Customizing in the Application method
For example
Func Application (application: uiapplication, didfinishlaunchingwithoptions launchoptions: [NSObject : anyobject]?), Bool {
//Override point for customization after application launch.
window = UIWindow(frame: uiscreen. Mainscreen(). Bounds)
window?. backgroundcolor = uicolor. Whitecolor()
window?. Rootviewcontroller = viewcontroller()
window?. makekeyandvisible()
return true
}
Swift removes Main.storyboard and Launchscreen.storyboard