Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OS Xの[国際設定]ペインで選択した設定に基づいて、アプリにUSまたはメトリックで測定値を表示させたい。
コード内のOSからこの情報を取得するにはどうすればよいですか?
使用する
BOOL usesMetic = [[[NSLocale currentLocale] objectForKey:NSLocaleUsesMetricSystem] boolValue];