Set up the app's startup diagram

Source: Internet
Author: User

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清空,这样就可以了。 

Set up the app's startup diagram

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.