Skip to main content
Inspiring
March 17, 2013
Question

How to determine region of iOS device?

  • March 17, 2013
  • 2 replies
  • 636 views

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 has been closed for replies.

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.

gtrAuthor
Inspiring
March 21, 2013

Thanks for the tip!