全局关闭,在info里添加
<key>UIUserInterfaceStyle</key>
<string>Light</string>
单页关闭
self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight
全局关闭,在info里添加
<key>UIUserInterfaceStyle</key>
<string>Light</string>
单页关闭
self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight
本文标题:iOS Swift5.0项目关闭暗黑模式
本文链接:https://www.haomeiwen.com/subject/zbicfrtx.html
网友评论