Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

How to determine region of iOS device?

Participant ,
Mar 16, 2013 Mar 16, 2013

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

TOPICS
Development
617
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 21, 2013 Mar 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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 21, 2013 Mar 21, 2013
LATEST

Thanks for the tip!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines