1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#import <UIKit/UIKit.h> #import <Mapbox/MGLCompassButton.h> @class MGLMapView; NS_ASSUME_NONNULL_BEGIN @interface MGLCompassButton (Private) + (instancetype)compassButtonWithMapView:(MGLMapView *)mapView; @property (nonatomic, weak) MGLMapView *mapView; - (void)updateCompass; @end NS_ASSUME_NONNULL_END