在macOS中获取用户首选的温度设置 [英] Get user preferred temperature setting in macOS
本文介绍了在macOS中获取用户首选的温度设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试读取温度单位(摄氏度/华氏度)的用户设置系统偏好设置.我试图使用NSLocale来获取此数据,但在那里找不到任何温度设置的证据.
I'm trying to read the user set system preferences for Temperature unit (Celsius/Fahrenheit). I was trying to get this data using NSLocale but I cannot find any evidence of a temperature setting in there.
是否有可能读取此数据?
Is it even possible to read this data?
谢谢!
推荐答案
查看全文