降低ios键盘高度 [英] Reduce ios keyboard height

查看:142
本文介绍了降低ios键盘高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何减少iOS中的键盘高度?我找不到可用于实现此目标的任何api.

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

我的客户注意到iPhone 6上的Facebook Messenger和内置的iMessage应用程序具有一个键盘,该键盘的高度比我的应用程序中的键盘小.是因为他们使用的是自定义键盘,还是iPhone 6中有一种降低高度的方法?

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.

这是来自Facebook Messenger应用程序. http://postimg.org/image/h6u1jt5db/

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

这是从我的应用程序中获得的. http://postimg.org/image/j8q5tw9if/

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

推荐答案

是的,只需为iPhone 6和6+添加启动屏幕,您的应用程序就会减少键盘高度和状态栏高度.奇怪但真实.

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.

这篇关于降低ios键盘高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆