iPhone 5键盘尺寸 [英] iPhone 5 Keyboard sizing
问题描述
我一直在4英寸和3.5英寸iPhone模拟器上测试我的应用程序,当在横向模式下在4英寸模拟器中调出带有UITextField的键盘时,它会被压到一边。它看起来像普通的3.5英寸键盘:
I've been testing my app in the 4-inch and 3.5-inch iPhone simulators, and when bringing up a keyboard with a UITextField in the 4-inch simulator in landscape mode, it's squished up to the side. It looks like a normal 3.5-inch keyboard:
我是否遗漏了一些东西告诉它正确伸展?
Am I missing something telling it to stretch properly?
请注意 - 我不喜欢无法访问要测试的实际iPhone 5设备。任何帮助将不胜感激。
Please note - I don't have access to an actual iPhone 5 device to test on. Any help would be appreciated.
推荐答案
也许您的模拟器设置为4英寸型号但运行iOS5 - 此设置可以在iOS模拟器中使用,但在野外不存在。
Maybe your simulator is set to the 4-inch model but is running iOS5--this setup is possible in iOS Simulator but doesn't exist in the wild.
这篇关于iPhone 5键盘尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!