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保存退出。