shouldRequestAuthorizationToUseLocationServices property

bool get shouldRequestAuthorizationToUseLocationServices

A Boolean value indicating whether the map may request authorization to use location services.

Setting this property to YES causes the map view to use the Core Location framework to request authorization when authorizationStatus == kCLAuthorizationStatusNotDetermined.

The default value of this property is YES.

Implementation

bool get shouldRequestAuthorizationToUseLocationServices {
  return _objc_msgSend_91o635(this.ref.pointer, _sel_shouldRequestAuthorizationToUseLocationServices);

}
set shouldRequestAuthorizationToUseLocationServices (bool value)

A Boolean value indicating whether the map may request authorization to use location services.

Setting this property to YES causes the map view to use the Core Location framework to request authorization when authorizationStatus == kCLAuthorizationStatusNotDetermined.

The default value of this property is YES.

Implementation

set shouldRequestAuthorizationToUseLocationServices(bool value) {
_objc_msgSend_1s56lr9(this.ref.pointer, _sel_setShouldRequestAuthorizationToUseLocationServices_, value);

}