iPhone 5,iOS 6模拟器无响应屏幕(Unresponsive screen on iPhone 5, iOS 6 Simulator)

我添加了一个Default-568h@2x.png到我的应用程序,它在Retina 4英寸模拟器上看起来很好。 不过,屏幕底部有大约170个像素区域,对敲击和/或触摸没有响应。 你有同样的问题吗? 任何想法如何解决这个问题?

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?

最满意答案

假设您使用的是MainWindow.nib,请单击根VC并选择“启动时全屏”。

另外,在-applicationDidFinishLaunching:withOptions: window.frame = [UIScreen mainScreen].bounds (或window.frame = window.screen.bounds )。 如果你有很多你不想碰的笔尖(例如,如果你本地化为10种语言),这可能会更好。

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

iPhone 5,iOS 6模拟器无响应屏幕(Unresponsive screen on iPhone 5, iOS 6 Simulator)

我添加了一个Default-568h@2x.png到我的应用程序,它在Retina 4英寸模拟器上看起来很好。 不过,屏幕底部有大约170个像素区域,对敲击和/或触摸没有响应。 你有同样的问题吗? 任何想法如何解决这个问题?

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?

最满意答案

假设您使用的是MainWindow.nib,请单击根VC并选择“启动时全屏”。

另外,在-applicationDidFinishLaunching:withOptions: window.frame = [UIScreen mainScreen].bounds (或window.frame = window.screen.bounds )。 如果你有很多你不想碰的笔尖(例如,如果你本地化为10种语言),这可能会更好。

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