Gurpreet Singh
Gurpreet Singh

Reputation: 71

Any other way to figure out user country on iphone except using NSLocaleCountryCode

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

Answers (1)

KingofBliss
KingofBliss

Reputation: 15115

Get the latitude and longitude of the user and found out the country. It will give the exact result.

Upvotes: 2

Related Questions