![](/img/trans.png)
[英]Is there a way to observe a change between Dark and Light mode on iOS using Notifications instead of the standard Delegate function?
[英]Change between dark and light keyboard iOS7
在iOS7中,我们有黑暗和轻巧的键盘。 我可以通过代码在我的应用程序之间进行更改吗?
textfield.keyboardAppearance = UIKeyboardAppearanceDark;
在Swift 3中:
textfield.keyboardAppearance = UIKeyboardAppearance.dark
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.