问题
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?
回答1:
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 (e.g. if you localize into 10 languages).
来源:https://stackoverflow.com/questions/12547047/unresponsive-screen-on-iphone-5-ios-6-simulator