Keyboard size is bigger

2019-06-04 21:56发布

问题:

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.