Reduce ios keyboard height

不羁的心 提交于 2019-12-24 10:47:44

问题


How can I reduce the height of keyboard in iOS? I couldn't find any api that I can use to achieve this objective.

My client noticed that Facebook messenger and builtin iMessage app on iPhone 6 has a keyboard which is a little bit small in height than keyboard in my app. Is it because they are using custom keyboard or there is a way in iPhone 6 to reduce the height?

I am posting screenshots below from both apps so that you can compare them.

This is from Facebook messenger app. http://postimg.org/image/h6u1jt5db/

This is from my app. http://postimg.org/image/j8q5tw9if/


回答1:


yeah just add splash screen for iphone 6 and 6+ your application and your keyboard height and status bar height will be decrease. strange but true.




回答2:


There is possibility of Custom keyboard in Facebook messenger and builtin iMessage from ios8.

You can easily provide custom keyboard with the theme which your app suits.

You can take a look at HERE



来源:https://stackoverflow.com/questions/29643549/reduce-ios-keyboard-height

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