-
A protocol for a
UIViewsubclass that displays information about a selected annotation near that annotation.To receive updates from an object that conforms to the
MGLCalloutViewprotocol, use the optional methods available in theMGLCalloutViewDelegateprotocol.Related examples
See the Display custom views as callouts example to learn how to customize an
See moreMGLCalloutView.Declaration
Objective-C
@protocol MGLCalloutView <NSObject>Swift
protocol MGLCalloutView : NSObjectProtocol -
The
See moreMGLCalloutViewDelegateprotocol defines a set of optional methods that you can use to receive messages from an object that conforms to theMGLCalloutViewprotocol. The callout view uses these methods to inform the delegate that the user has interacted with the the callout view.Declaration
Objective-C
@protocol MGLCalloutViewDelegate <NSObject>Swift
protocol MGLCalloutViewDelegate : NSObjectProtocol
-
A specialized view that displays the current compass heading for its associated map.
See moreDeclaration
Objective-C
@interface MGLCompassButton : UIImageViewSwift
class MGLCompassButton : UIImageView
Install in Dash
User Interaction Reference