Step1
- 1. Click Image.xcassets to go to image management, then right click, pop Up "New Launch image"
- 2. The right-hand tick allows you to choose whether you want to support ipad, crossbar, vertical screen, and the lower version of iOS. I chose Ios8.0,ios7.0,ios6 this way. No support.
Step2
Drag the specified size picture from your file into the fixed position.
| System |
Size |
Resolution |
| iOS8 |
Retina HD5.5 |
1242x2208 |
|
Retina HD4.7 |
750x1334 |
|
Landscape Retina Hd 5.5 |
2208x1242 |
| iOS7 |
|
640x960 |
|
Retina4 |
640x1136 |
Upload finished, then the basic is almost ready.
Step3
Click your entire project name and select General, that's it.
The point has come.
I completed the above steps, and set the launch Images srouce for Launchimage, but the start picture is still the same, and later found launch Srceenfile, this inside set up, go to see, Your directory has a file called Launchscreen.xib Open the Right box, select the file, and then, the use as launch Srceen canceled, this is the reason you have been set launch image is not successful
STEP4 Run
Launch image has changed by the way, I have Launch image.
If you think you're starting too fast, then it's pretty launchimage to skip the show. You can add the following code to your first load page to extend the Launchimage display time.
//Swift code //这个是swift得版本的.额,你千万不要自己新增一个方法viewDidLoad哦,你里面有的 override func viewDidLoad() { super.viewDidLoad() NSThread.sleepForTimeInterval(3.0)//延长3秒 }
//OC code
1 //The code should be placed in the most appropriate place to invoke2-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (Nsdictionary *) launchoptions {3 //add a line of View controller-based status bar appearance set to No in the Info.plist to control whether it is the application in charge4 //used to set the multi-controller navigation bar style to content white penetration effect5 //[UIApplication sharedapplication].statusbarstyle = uistatusbarstylelightcontent;6Application.statusbarstyle =uistatusbarstylelightcontent;7 //delay 1s display splash screen (launachimage)8 [Nsthread sleepfortimeinterval:1.0]; 9 //Show Top Bar after startup (power WiFi time, etc.)TenApplication.statusbarhidden =NO; One returnYES; A}
iOS 8.4 Xcode6.4 Settings Launchimage pictures