iOS6 iPhone 5在屏幕底部无法点击 [英] iOS6 iPhone 5 nothing clickable at bottom of screen

查看:158
本文介绍了iOS6 iPhone 5在屏幕底部无法点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序我正在尝试转换并为新的iPhone 5屏幕尺寸做好准备。我添加了新的Default-568h @ 2x图像,并将我的视图设置为在IB中自动调整大小。视图看起来正确,它们伸展以填满屏幕,但我放在底部的任何按钮都是不可点击的。这就像底部有一条看不见的线,关于旧iPhone屏幕停止的地方,以及那条线以下的任何东西都是无法点击的。如果我把按钮放在这一行上,顶部是可点击的,但是底部不是。

I have an app I am trying to convert and make ready for the new iPhone 5 screen size. I added the new Default-568h@2x image and I set my views to autosize in IB. The views look right, they stretch to fill the screen, but any button I put at the bottom is unclickable. It's like there is an invisible line towards the bottom, about where the old iPhone screen would stop, and anything below that line is unclickable. If I put the button right on this line, the top part is clickable but the bottom part is not.

推荐答案

我有同样的问题... http: //anthonyprato.com/2012/09/20/iphone-5-problem-with-touches-at-the-bottom-of-the-screen/

I had the same problem... http://anthonyprato.com/2012/09/20/iphone-5-problem-with-touches-at-the-bottom-of-the-screen/

在笔尖中创建的UIWindow需要启动时全屏选中。

Your UIWindow created in a nib needs "Full Screen at Launch" checked.

这篇关于iOS6 iPhone 5在屏幕底部无法点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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