A specialized view that displays the current compass heading for its associated map.
- iOS 11.0+
- Mac Catalyst 13.0+Beta
Use this class when you want to incorporate a standard compass button into your own view hierarchy. A compass button reflects the current orientation of its associated map view. Tapping the compass button reorients the map so that due north is at the top of the map view.