# User Interaction

- `MGLCalloutView`

  A protocol for a `UIView` subclass that displays information about a selected annotation near that annotation.

  To receive updates from an object that conforms to the `MGLCalloutView` protocol, use the optional methods available in the `MGLCalloutViewDelegate` protocol.

  #### Related examples

  See the Display custom views as callouts example to learn how to customize an `MGLCalloutView`.

  See more

  #### Declaration

  Objective-C

      @protocol MGLCalloutView <NSObject>

  Swift

      protocol MGLCalloutView : NSObjectProtocol

  View Source on GitHub
- `MGLCalloutViewDelegate`

  The `MGLCalloutViewDelegate` protocol defines a set of optional methods that you can use to receive messages from an object that conforms to the `MGLCalloutView` protocol. The callout view uses these methods to inform the delegate that the user has interacted with the the callout view.

  See more

  #### Declaration

  Objective-C

      @protocol MGLCalloutViewDelegate <NSObject>

  Swift

      protocol MGLCalloutViewDelegate : NSObjectProtocol

  View Source on GitHub