gpt4 book ai didi

iphone - 如何让 UIKeyboard 变黑?

转载 作者:可可西里 更新时间:2023-11-01 05:01:34 26 4
gpt4 key购买 nike

我在这里看到了这个 SO 问题:Can I tint (black) a UIKeyboard? If so, how? ,其中最佳答案表明您可以进行破解,但这样做可能会使您的应用程序被 Apple 拒绝。这一定不是真的,因为我已经看到其他具有黑色 UIKeyboard 的 iPhone 应用程序(主要应用程序是 Clear)。它是如何完成的?

这里有一张Clear的截图供引用:

enter image description here

最佳答案

试试这个

   [(UITextField *)mySubView setKeyboardAppearance:UIKeyboardAppearanceAlert];

或者根据您的设置适本地添加 setKeyboardAppearance:UIKeyboardAppearanceAlert!

关于iphone - 如何让 UIKeyboard 变黑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9626424/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com