Search code examples
iphoneiosxcodescreenretina-display

Unresponsive screen on iPhone 5, iOS 6 Simulator


I have added a [email protected] 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?


Solution

  • 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).