iPhone 5,iOS 6 Simulator上的屏幕无响应 [英] Unresponsive screen on iPhone 5, iOS 6 Simulator

查看:125
本文介绍了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,然后选择启动时全屏显示".

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

或者,在-applicationDidFinishLaunching:withOptions: window.frame = [UIScreen mainScreen].bounds(或window.frame = window.screen.bounds)中.如果您不想碰到很多笔尖(例如,如果您本地化为10种语言),则可能更可取.

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 Simulator上的屏幕无响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆