Instance Property

compassVisibility

The visibility of the compass button.

Declaration

var compassVisibility: MKFeatureVisibility { get set }

Discussion

You can configure a compass button to be visible all the time or only when the compass heading changes.

See Also

Getting the Compass Attributes

var mapView: MKMapView?

The map view that provides the heading information for the compass button.

enum MKFeatureVisibility

Constants indicating the visibility of different map features.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software