作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我在这里看到了这个 SO 问题:Can I tint (black) a UIKeyboard? If so, how? ,其中最佳答案表明您可以进行破解,但这样做可能会使您的应用程序被 Apple 拒绝。这一定不是真的,因为我已经看到其他具有黑色 UIKeyboard 的 iPhone 应用程序(主要应用程序是 Clear)。它是如何完成的?
这里有一张Clear的截图供引用:
最佳答案
试试这个
[(UITextField *)mySubView setKeyboardAppearance:UIKeyboardAppearanceAlert];
或者根据您的设置适本地添加 setKeyboardAppearance:UIKeyboardAppearanceAlert
!
关于iphone - 如何让 UIKeyboard 变黑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9626424/
我是一名优秀的程序员,十分优秀!