Xcode 4.5 (iOS6 SDK), older version number cocos2d, support iPhone5 resolution

Source: Internet
Author: User

Support IPhone5 fullscreen

1 Assume that there is no support for IPhone5. Run the program directly to prepare for submission. Open IPhone5 Simulator, you will find that there are black programs, no rectangles.

2 when you actually run the program. You will find the program backhaul screen height. It is 480, not the new iphone high and low. If you want to support iPhone5, what do you do?

3 very simple, do a iPhone5 default picture (image name change [email protected], through the correct add Files to ... Add to the project) to the program, set well after. Returns the height of the variable 568. (568 It is points, the actual pixel is twice times 1136.)

)


In Target->general->launch images in 4inch will choose their own initiative [email protected] Guide logo, then to adapt

Xcode 4.5 (iOS6 SDK), older version number cocos2d, support iPhone5 resolution

Related Article

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.