How do I know which is the default measure system (imperial or metric) on iOS ?
How do I get this preference from the device settings, so I know what to display in m
here's a swift version
var locale = NSLocale.currentLocale() let isMetric = locale.objectForKey(NSLocaleUsesMetricSystem) as! Bool