Quantcast
Channel: User Karthik T - Stack Overflow
Viewing all articles
Browse latest Browse all 44

Comment by Karthik T on What's the best way to get device locale in react native (iOS)?

$
0
0
As of ios 14, both AppleLocale and AppleLanguages seem to be defined. Would recommend picking AppleLanguages first now, since that supports the app specific prefered languages feature. and use optional chaining to better allow for backward compatibility

Viewing all articles
Browse latest Browse all 44

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>