How can I re-enable the letterbox mode using the i

2019-09-24 13:45发布

I'd like to re-enable the letterbox mode on the iPhone 5 for my app. Using Xcode 4.5.2 and building an app for iPhone 5, I generated an 1136x640 launch image and it was named Default-568h@2x.png. I have sinced removed the launch screen and in the project summary the space for that image is empty. Also, I have removed any instances I found within the project folder. However, my app continues to be displayed using the full screen on the iPhone 5 and what I want is to be able to use the letterbox mode again. I believe this can be accomplished by deleting the app, but how can I re-enable the letterbox mode using the iPhone 5 and Xcode 4.5.2 without deleting the app from the phone?

3条回答
何必那么认真
2楼-- · 2019-09-24 14:12

Have you tried deleting the app from the device and redeploying it? I have had issues with icon files etc not being refreshed unless the app is removed and freshly deployed.

Alternatively you can connect your iPhone and open organiser. Select the device and app and hit 'Download'.

Then add the archive you just saved back to your project. Then go to the Project Scheme Drop Down Edit Schemes>Run and select the app data package.

Redeploy your app from scratch and it will contain the saved state.

查看更多
姐就是有狂的资本
3楼-- · 2019-09-24 14:19

I had the same problem.

I disconnected my iPhone, removed the App from the iPhone's installed Apps, did a Project Clean in XCode, reconnected the iPhone and did a full build and redeploy to the iPhone.

Success! Letterboxing!

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-09-24 14:22

Tap 'Product'->'Clean' in Xcode and remove the application from your phone. Then rebuild your project and there shouldn't be any cached version of the Default-568h@2x.png anywhere.

查看更多
登录 后发表回答