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