If project uses NSLocationAlwaysUsageDescription, use appropriate access request.
If a project is set up for NSLocationAlwaysUsageDescription and not NSLocationWhenInUseUsageDescription, it would be expected that RMMapView asks for requestAlwaysAuthorization and not requestWhenInUseAuthorization.
Since iOS doesn't allow for a second request this is really critical i.e. if RMMapView has asked for requestWhenInUseAuthorization, the app can ask for requestAlwaysAuthorization later, but a prompt is not shown to the user.
If project uses NSLocationAlwaysUsageDescription, use appropriate access request.
If a project is set up for
NSLocationAlwaysUsageDescription
and notNSLocationWhenInUseUsageDescription
, it would be expected thatRMMapView
asks forrequestAlwaysAuthorization
and notrequestWhenInUseAuthorization
. Since iOS doesn't allow for a second request this is really critical i.e. ifRMMapView
has asked forrequestWhenInUseAuthorization
, the app can ask forrequestAlwaysAuthorization
later, but a prompt is not shown to the user.