I\'d like to show the current language that the device UI is using. What code would I use?
I want this as an NSString in fully spelled out format. (Not
NSString
Swift 3
let locale = Locale.current let code = (locale as NSLocale).object(forKey: NSLocale.Key.countryCode) as! String? print(code!)