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/4469release/1.6.1 v1.6.1
Konstantin
9 months ago
committed by
Igor Demin
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue