title: Most accurate way to automatically get user's country on iOS?
body: <p>This question is perhaps as much about human behaviour as programming.</p>
  
  <p>What is the best way of automatically getting the user's country (<strong>without asking the user</strong>)</p>
  
  <p>It's for a shopping app, so that the correct shopfront gets shown in the app. Imagine, for instance, there are three stores - Japan, US, and France.</p>
  
  <p>There are three ways I can think of doing this:</p>
  
  <ol>
  <li>Use a service like <a href="http://ipinfo.io/json" rel="nofollow">http://ipinfo.io/json</a> or <a href="http://freegeoip.net/json/" rel="nofollow">http://freegeoip.net/json/</a> to get the country code.</li>
  <li>Use the device's carrier code, I'll be able to get the country where they registered their mobile phone.</li>
  <li>Use their phone's timezone - i.e., they've set their timezone to New York, so their country is US.</li>
  </ol>