我目前正试图设置全局的键盘样式,但我的方法不起作用。 我尝试了用UIAppearance
,并把此行的代码的AppDelegate里面:如何为整个应用程序设置UIKeyboard风格?
[[UITextField appearance] setKeyboardAppearance:UIKeyboardAppearanceAlert];
但我在控制台上得到如下:
[UISearchBarTextField _UIAppearance_setKeyboardAppearance:]: unrecognized selector sent to instance 0xa1897e0
任何想法如何解决这个问题?
您是否找到解决方案? – BlueVoodoo