Chubby, say something. 9------The new empty project in IOS Xcode6 and the size of the program interface on iphone5s only iPhone4

Source: Internet
Author: User

Upgrade Xcode6 after the direct establishment of the empty project found that this is too pit, really is nothing ah. There's only one way to change.

summarized as follows:1. Create a single view application 2. Open Info.plist (Don't tell me where to find info.plist), delete the Launch Screen interface file base name and Main Main Storyboard file base name3. Delete Main.storyboard and Launchscreen.xib4. Modify APPDELEGATE.M5. Then run the program and find that the program interface on the iphone5s is only iPhone4 on the size. This is all an old problem, add a picture [email protected]. OK, all done.


Xcode 6  The default new launch page is  launchscreen.xib, system by detecting whether there is this file, to determine the  app 

If you want to support IOS 7 , you must also add Launch Image assets.


 app  to support  ios 7 However, the  launch image Assets   ios 7  


Workaround:


Target, General Tab, App Icons and Launch Images, add Launch image

https://developer.apple.com/library/ios/documentation/ides/conceptual/appdistributionguide/ Configuringyourapp/configuringyourapp.html#//apple_ref/doc/uid/tp40012582-ch28-sw3

Chubby says 9------New empty project in IOS Xcode6 and the program interface on iphone5s only size on iPhone4

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.