Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[resources] Fix regionCode crash on iOS before 17 (#4473)
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 #4469
- Loading branch information