Skip to main content
Inspiring
Mar 17, 2013 12:48 AM UTC
Question

How to determine region of iOS device?

I know how to use Capabilites.language(s) to determine the device language, but I wonder; is there is any way to figure out the region of the device? (iOS)

Thanks for any pointers!

JP

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Mar 21, 2013 4:36 PM UTC

You might want to try

new StringTools(LocaleID.DEFAULT).actualLocaleIDName

to get the locale. Not sure how much of that is influenced by device language settings as I've seen different behavior on Android and iOS, but I've been using it in projects also.

Translate
gtrAuthor
Inspiring
Mar 21, 2013 6:47 PM UTC

Thanks for the tip!

Translate