Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6798953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:47:28+00:00 2026-05-26T18:47:28+00:00

I see that the NSLocale bindings aren’t complete in MonoTouch so I am having

  • 0

I see that the NSLocale bindings aren’t complete in MonoTouch so I am having a bit difficulties writing them myself.

Does anyone have the code to get the users countrycode in ISO 3166-1 alpha 3 format? Three letters for each country:
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

This is being ported from Android where we already have the API call:

Locale.getDefault().getISO3Country();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:47:29+00:00Added an answer on May 26, 2026 at 6:47 pm

    Have a look at Iphone, Obtaining a List of countries from MonoTouch – it should cover it (or easily be adapted to do so).

    note: this will be part of a future version of MonoTouch (got the code in a backup waiting for my iMac reparation 😉

    EDIT

    iOS NSLocale returns the ISO 2 letters country code not the ISO 3 letters you’re looking for. The best you can do is build a map from 2->3 letters and use the linked code to get the 2 letters code. There’s some code to do the reverse (that you can adapt) or even a map (to reverse) available in: Converting country codes in .NET

    Note that depending on your requirements this could be incomplete and not exactly matching what Android provides you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see that in different plugins and codes, but I don't understand what does
I see that most people just hate having a circular dependency in the database
I see that the IPhone core audio does not include audioDevice objects to render
I see that fiver have implemented an instant pay feature with paypal. Does anyone
I see that this is the same question as Making cmake print commands before
I see that most of big websites are returning javascript objects instead of pure
I see that many people get this error, but their situations all appear a
I see that we cannot use if not exists in the create virtual table
I see that Spring has a @Required annotation to mark member variables in beans
I see that QButtonGroup s let you throw in an integer when you do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.