Retrieve Country Code

Welcome! Forums Unity Plugins Precise Locale Retrieve Country Code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #372
    chico
    Participant

    Hi, thanks for the plugin! It works fine for our needs, so this is more of a request 🙂 Would it be possible to expand the functionality to retrieve the Country code please? That’s something in iOS can be done with the following lines:

       
    NSLocale* locale  = [NSLocale currentLocale];
    NSString* country = [locale objectForKey:NSLocaleCountryCode];
    

    Thanks!

    • This topic was modified 4 years, 1 month ago by chico.
    #387
    PiotrPiotr
    Keymaster

    GetRegion? 😉

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.