The keyboard in my iOS app is too tall on the iPhone 6. How can I adjust the resolution of the keyboard in XCode?

前端 未结 1 1642
一向
一向 2020-12-12 00:57

Currently I am adjusting my already existing iOS App to iOS 8 and the iPhone 6. Currently the keyboard on the iPhone 6 seems pretty tall (like the WhatsApp app before the iP

相关标签:
1条回答
  • 2020-12-12 01:12

    It's not a coding issue. Your app is being rendered for the smaller screen sizes and then scaled up to fit the new larger screens (including the keyboard). You need to include launch images in the native resolutions for the iPhone 6 and 6 plus if you want it to render properly, but you will likely need to be using auto-layout if you want everything to grow to fit the new screen sizes and take advantage of the extra space.

    For iPhone 6:

    750 x 1334 (@2x) for portrait 1334 x 750 (@2x) for landscape

    For iPhone 6 Plus:

    1242 x 2208 (@3x) for portrait 2208 x 1242 (@3x) for landscape

    or you can go through this link it may help you

    http://matthewpalmer.net/blog/2014/09/10/iphone-6-plus-launch-image-adaptive-mode/

    0 讨论(0)
提交回复
热议问题