Browse Source
The regionCode API ``` NSLocale.currentLocale().regionCode ``` was published in iOS 17: https://developer.apple.com/documentation/foundation/nslocale/4172868-regioncode?language=objc to make it works on all iOS versions we have to use: ``` NSLocale.currentLocale().objectForKey(NSLocaleCountryCode) as? String ``` fixes https://github.com/JetBrains/compose-multiplatform/issues/4469pull/4480/head
Konstantin
10 months ago
committed by
GitHub
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue