Keyboard size is bigger

萝らか妹 提交于 2020-01-02 22:27:17

问题


I wanna show keyboard smaller but causing problem compare both images , keyboard size is bigger than first image and also vertical spacing between two character is more when 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 bigger How i can show keyboard smaller without design problem I searched lot but never get solution of this problem


回答1:


Same Issue with my App When complete my app I see the keyboard is bigger compared to other apps.

I Found many solutions but not working then I just found that "When you don't add the 4.7" splash screen the UI is automatically scaled up by the OS to fit the bigger screens. That's why the keyboard is bigger."

Now see the Following Screenshot.

Before Without add 4.7 inch splash screen

After adding a 4.7-inch splash screen .

Happy Coding <3




回答2:


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.

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.




回答3:


If you add the splash screen of 6 and 6+ then IOS will use the same size of all your UI.

and if not IOS will stretch all your UI will result in increase height.



来源:https://stackoverflow.com/questions/30843498/keyboard-size-is-bigger

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