How do I set the app's startup diagram, which is launch image? 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
Step4run
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秒 }转载地址:http://www.woowen.com/swift/2014/12/12/ios8%E8%AE%BE%E7%BD%AELaunch%20Image%20%E5%90%AF%E5%8A%A8%E5%9B%BE%E7%89%87/ // 补充:我在设置了Use as launch Screen后,还是不行,最后一看,还得在Launch Screen File中:把默认的加载的xib清空,这样就可以了。
IOS8, Xcode6 settings launch image start picture