There are several ways to do so:
Detect user's location, requires user to allow & turn on Location Service. May consume a lot of battery as you'll have to update user's location in background.
Detect user's data IP and cross-check IP-Country database. This cannot be done in background as Apple does not allow this ( Apple allows background task for location & music only ). Thus, user's location can only be updated when user opens the App.