Reputation: 71
I want to restrict some contents of my app based on user country (from where app is currently being accessed). I am aware of NSLocaleCountryCode
but the issue is that user can go ahead and change the location used/returned by NSLocaleCountryCode
in iPhone settings.
Is there any other way to figure out user's country?
Upvotes: 0
Views: 324
Reputation: 15115
Get the latitude and longitude of the user and found out the country. It will give the exact result.
Upvotes: 2