CLLocationManagerDelegate.ShouldDisplayHeadingCalibration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The system believes that the magnetometer should be calibrated.
[Foundation.Export("locationManagerShouldDisplayHeadingCalibration:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldDisplayHeadingCalibration (CoreLocation.CLLocationManager manager);
abstract member ShouldDisplayHeadingCalibration : CoreLocation.CLLocationManager -> bool
override this.ShouldDisplayHeadingCalibration : CoreLocation.CLLocationManager -> bool
Parameters
- manager
- CLLocationManager
The CLLocationManager for which this
is the delegate object.
Returns
Return true
to allow the calibration dialog.
- Attributes
Remarks
This method will be executed when the system believes that the magnetometer (compass) requires calibration, either because it has not been calibrated recently or because a large change in the local magnetic field was detected.
Application developers may override this method to return false
, in which case the calibration dialog will not appear.