1. Run Xcode6 to create a single View application project.
2. Then delete Main.storyboard and launchscreen.xib and throw it into the wastebasket.
3. Open Info.plist, put Launch screen interface file base name, and main storyboard file base name two item, delete (click the minus sign next to it)
4. Open the Project properties file, click the first item below target, then select the General tab and find the Use Asset Catalog button down. Click on it.
Pop up the dialog box and click Migrate. This way, the size of the application can be adjusted according to the size of the screen.
5. Finally, in the first method of appdelegate, add the necessary code before the "return" statement.
The code has only 3 sentences, which is equivalent to 3 steps away. 1. Create window;2. set window background; 3. make window visible.
OC needs to add code Self.window = [[UIWindow alloc] Initwithframe:[[uiscreen Mainscreen] Bounds]];self.window.backgroundcolor = [Uicolor Whitecolor]; [Self.window makekeyandvisible]
The code that Swift needs to add Self.window = UIWindow (Frame:UIScreen.mainScreen (). Bounds) self.window!. BackgroundColor = Uicolor.whitecolor () self.window!. Makekeyandvisible ()
Xcode 6 How do I create an empty application for a pure handwriting UI interface?