How to disable iPhone 6 native resolution?

前端 未结 2 1840
情话喂你
情话喂你 2020-12-03 11:56

I have several games made with Cocos2d-iphone. All of them are old projects created with Xcode 4 or 5. All games scale fine on the new iPhone 6 and 6 Plus except one that se

2条回答
  •  离开以前
    2020-12-03 12:41

    Bhumit is partially right, but I believe there is one missing detail. To disable native resolution (and ensure scaled resolution) I did the following:

    1. Remove LaunchScreen.xib from project as well as any iPhone 6/6+ launch images you may have.
    2. In your app's target, go to General, and under "Launch Screen File" blank out the entry.
    3. Clean and rebuild

提交回复
热议问题