How to check whether app will launch with dark mode or light mode in Mac catalyst?

后端 未结 0 1247
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 20:26

I want to check is app will launch with light mode or dark mode in appdelegate file.

Environment: Mac catalyst

Code: NSLog(@"%@",UITraitCollect

相关标签:
回答
  • 消灭零回复
提交回复
热议问题