Change permissions based on their type
Read moreHow do I set up permission?
Change permissions based on their type
Read moreHow do I ask for location permissions in iOS?
To request authorization, call requestWhenInUseAuthorization() or requestAlwaysAuthorization() , depending on the authorization status your app needs. See Choosing the Location Services Authorization to Request for more information about deciding what type of authorization to request.
Read more