在程序的Info.plist文件中加入: key: UIUserInterfaceStyle value: Light
或者使用代码禁止
self.window?.overrideUserInterfaceStyle = .light
iOS 禁用黑暗模式 如果你的公司没有设计黑暗模式,在iOS13到来之际,你需要在应用内禁止一下黑暗模式的显示:在...
在程序的Info.plist文件中加入:key: UIUserInterfaceStylevalue: Light...
iOS13禁用暗黑模式 info.plist文件中添加 Appearance : Light
iOS开发 禁用暗黑模式 在info.plist 中添加 Appearance 类型为 String, Value...
全局修改,info.plist中设置User Interface Styleimage.png 单独修改
info.plist 中选择 Appearance Value 为Light. source Code:
iOS13黑暗模式关闭,代码如下:
全局关闭黑暗模式 在info.plist文件中添加key:User Interface Style,值类型是Str...
在iOS发布iOS13系统后,新增了黑暗模式,当用户把黑暗模式打开后,app会出现很多显示问题,最让人头疼就是导航...
全局禁掉暗黑模式在info.plist文件中添加UIUserInterfaceStyle字段,值为Light
本文标题:iOS 禁用黑暗模式
本文链接:https://www.haomeiwen.com/subject/gsnwvktx.html
网友评论