We’re developing an iOS app. One requirement we have is, get the country of the user location to enforce restrictions in the app. One solution we’re thinking about is to gather the IP address and use it with a Geo-localization service to get the country. One partner told us that this kind of solution violates Apple policies. Could someone confirm this statement? Or, someone knows another way to gather just the country where the device user is located?
Share
Use the Apple-provided location services to find the location of the user. It’s by far more accurate than geocoding from IP addresses, it doesn’t require a third party service (or your own service) and it provides an estimated Latitude and Longitude for the user that you can use on a map or similar.