Skip to main content
Inspiring
March 17, 2013
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
March 21, 2013

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
March 21, 2013

Thanks for the tip!

Translate