first, let 's start by creating the simplest program
After clicking, select Single View application, then click Next
Enter project name and continue to point next
Select the place to create the project, click Create
One of the simplest projects has been created.
Two: Let's get this program running (direct COMMAND+R)1, whether the app icon or the loading interface is blank, how to make our app has its own icon and launch interface?
2, I used Prepo this software, open the software, drag the picture in, you can automatically generate different size of the picture (to meet the official requirements of apple size), according to the size of the picture correctly dragged into the corresponding icon (do not know how to drag into the icon.) When selected, the right will prompt the box to drag into the size of the picture, if you want to create an ipad icon, as long as the right to select the ipad, and then drag the picture into the ipad box can be successful
Now is:
3, how to add the launch interface, find targets > General > App Icons and Launchimages Here are two options Launch Images source and Launch screen File , with the launch Images source, on behalf of a similar method with AppIcon, import different sizes of pictures to fit different screens (remember to empty launch screen file)
3.5 inch:
Pixel size: 640x960 fit with IPhone 4
4.0 inch screen:
Pixel size: 640x1136 fit with IPhone 5
4.7 inch Screen:
Pixel size: 750x1334 fit with IPhone 6
5.5 inch screen:
Pixel size: 1242x2208 adaptation of the IPhone 6 Plus clicks launch Images Source in the use Asset Catalog, and then appears migrate Laugh Images ..., click Migrate
In the Asset.xcassets will appear a brand Assets, the picture according to the size of the above to resize, and then dragged in can, run, you can see the launch screen you think the splash screen is too short. In APPDELEGATE.M-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (NSDictionary *) Add a piece of code in the Launchoptions method
[Nsthread sleepfortimeinterval:1.0];//Extended startup page time
Next iOS Boot interface (that is, the first download app will appear in the interface)
http://blog.csdn.net/u012723810/article/details/49888497