我可以着色黑色UIKeyboard吗如果是,
问题说明
有办法获得黑色键盘吗?默认值为蓝色。警报风格一是半透明黑色。我想知道是否可能有键盘黑色,例如。不透明。
Is there a way to get a black keyboard? The default one is bluish. And the Alert style one is semi-transparent black. I was wondering if it was possible to have the keyboard black, e.g. non transparent. Or do I have to pull up a black view behind the keyboard to reduce the transparency effect?
正确答案
简短的答案是:NO 。您可以显示的唯一两个键盘是正常和警告样式的键盘。
The short answer is, NO. The only two keyboards you can display are the normal and alert style keyboards.
有办法来获取ui键盘和改变它的组成。我不会建议这样做,因为它会1)可能使您的应用程序从应用程序商店被拒绝,2)可能破坏下一次iOS修订版本。
There are ways to hack around, get the ui keyboard and change it's composition. I wouldn't recommend doing this as it will 1) likely make have your app rejected from the app store and 2) likely break the next time an iOS revision comes around.
看起来像黑色或白色视图后面的键盘应该适用于应用程序。在这种情况下,我建议您查看此处的方法以在键盘下方呈现黑色视图。
Seems like putting a black or white view behind the keyboard should work for application. In this case I would recommend looking here for a way to animate that black view up below the keyboard.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcfjaka
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20