• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

我可以着色黑色UIKeyboard吗如果是,

用户头像
it1352
帮助1

问题说明

有办法获得黑色键盘吗?默认值为蓝色。警报风格一是半透明黑色。我想知道是否可能有键盘黑色,例如。不透明。

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?

正确答案

#1

简短的答案是: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
系列文章
更多 icon
同类精品
更多 icon
继续加载