热门搜索 :
考研考公
您的当前位置:首页正文

macOS Mojave macOS开发 APP禁用深色模式

来源:东饰资讯网

If you need extra time to work on your app's Dark Mode support, you can temporarily opt out by including the NSRequiresAquaSystemAppearance key (with a value of true) in your app’s Info.plist file. Setting this key to true causes the system to ignore the user's preference and always apply a light appearance to your app.

即在应用程序的Info.plist文件中包含NSRequiresAquaSystemAppearance键(值为true)来临时选择退出。

Top