问题描述
我想显示键盘较小但导致问题
比较两个图像,键盘尺寸比第一个图像大,而且两个字符之间的垂直间距更多
当我添加ratina 4.7闪屏键盘显示更小但是我的应用程序设计导致问题,当我删除4.7启动画面工作正常但键盘显示更大
如何显示键盘更小没有设计问题
我搜索很多但从来没有得到这个问题的解决方案
I wanna show keyboard smaller but causing problemcompare both images , keyboard size is bigger than first image and also vertical spacing between two character is morewhen i add ratina 4.7 splash screen keyboard showing smaller but my app design causing problem and when i remove 4.7 splash screen working fine but keyboard showing biggerHow i can show keyboard smaller without design problemI searched lot but never get solution of this problem
推荐答案
当你没有添加4.7启动画面时,操作系统会自动按比例放大UI以适应更大的屏幕。这就是键盘更大的原因。
When you don't add the 4.7" splash screen the UI is automatically scaled up by the OS to fit the bigger screens. Thats why the keyboard is bigger.
要解决此问题,您需要通过添加启动屏幕正式支持iPhone 6设备ually管理用户界面。使用自动布局&大小类,您可以轻松支持更大的视图。
To fix this issue you need to formally support iPhone 6 devices by adding the splash screens. And manually manage the UI. Using auto layout & size classes you can easily support bigger views.
这篇关于键盘尺寸更大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!