iPhone 5 Keyboard sizing

寵の児 提交于 2019-12-06 03:35:52

问题


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?

Please note - I don't have access to an actual iPhone 5 device to test on. Any help would be appreciated.


回答1:


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.



来源:https://stackoverflow.com/questions/12797419/iphone-5-keyboard-sizing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!