在程序的Info.plist文件中加入:
key: UIUserInterfaceStyle
value: Light
截图.png
或者使用代码禁止
self.window?.overrideUserInterfaceStyle = .light
在程序的Info.plist文件中加入:
key: UIUserInterfaceStyle
value: Light
或者使用代码禁止
self.window?.overrideUserInterfaceStyle = .light