简体   繁体   中英

Unresponsive screen on iPhone 5, iOS 6 Simulator

I have added a Default-568h@2x.png to my app and it looks fine on Retina 4 inch simulator. However there is about 170 pixel area on the bottom of the screen where no response to tapping and/or touching. Do you have the same problem? Any idea how to solve this?

Assuming you are using MainWindow.nib, click the root VC and select "full screen at launch".

Alternatively, in -applicationDidFinishLaunching:withOptions: window.frame = [UIScreen mainScreen].bounds (or window.frame = window.screen.bounds ). This might be preferable if you have lots of nibs which you'd rather not touch (eg if you localize into 10 languages).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM