SKCalloutView Class Reference

Inherits from UIView
Declared in SKCalloutView.h

Overview

SKMapView’s callout view. Can be used to display additional information about map artefacts. Responsible for displaying information about a map POI/annotation. Using the following properties the callout view’s visual presentation on map can be configured.

  delegate

The delegate of the callout view, used for receiving user interaction notifications from the callout view.

@property (nonatomic, assign) id<SKCalloutViewDelegate> delegate

Discussion

The delegate of the callout view, used for receiving user interaction notifications from the callout view.

Declared In

SKCalloutView.h

  location

The GPS coordinate where the callout view’s arrow should point.

@property (nonatomic, assign) CLLocationCoordinate2D location

Discussion

The GPS coordinate where the callout view’s arrow should point.

Declared In

SKCalloutView.h

  calloutOffset

Provides a way for moving the callout view up, down, left or right. It’s recommended to use when the callout view covers a part of the annotation image.

@property (nonatomic, assign) CGPoint calloutOffset

Discussion

Provides a way for moving the callout view up, down, left or right. It’s recommended to use when the callout view covers a part of the annotation image.

Declared In

SKCalloutView.h

  dynamicArrowPositioning

Enables the callout view’s arrow dynamic positioning while interacting with the map (panning, zooming).

@property (nonatomic, assign) BOOL dynamicArrowPositioning

Discussion

Enables the callout view’s arrow dynamic positioning while interacting with the map (panning, zooming).

Declared In

SKCalloutView.h

  middleImageView

The image view which contains the image of the arrow.

@property (nonatomic, strong) UIImageView *middleImageView

Discussion

The image view which contains the image of the arrow.

Declared In

SKCalloutView.h

  leftButton

The button located on the callout view’s left side. It can be customized like any other UIButton. Any interaction with this button will be forwarded to the callout view’s delegate (see SKCalloutViewDelegate).

@property (nonatomic, strong) UIButton *leftButton

Discussion

The button located on the callout view’s left side. It can be customized like any other UIButton. Any interaction with this button will be forwarded to the callout view’s delegate (see SKCalloutViewDelegate).

Declared In

SKCalloutView.h

  rightButton

The button located on the callout view’s right side. It can be customized like any other UIButton. Any interaction with this button will be forwarded to the callout view’s delegate(see SKCalloutViewDelegate).

@property (nonatomic, strong) UIButton *rightButton

Discussion

The button located on the callout view’s right side. It can be customized like any other UIButton. Any interaction with this button will be forwarded to the callout view’s delegate(see SKCalloutViewDelegate).

Declared In

SKCalloutView.h

  titleLabel

The title label of the callout view.

@property (nonatomic, strong) UILabel *titleLabel

Discussion

The title label of the callout view.

Declared In

SKCalloutView.h

  subtitleLabel

The subtitle label of the callout view.

@property (nonatomic, strong) UILabel *subtitleLabel

Discussion

The subtitle label of the callout view.

Declared In

SKCalloutView.h

  minZoomLevel

The minimum zoom level on which the callout view will be visible.

@property (nonatomic, assign) CGFloat minZoomLevel

Discussion

The minimum zoom level on which the callout view will be visible.

Declared In

SKCalloutView.h

+ calloutView

A newly initialized SKCalloutView.

+ (instancetype)calloutView

Discussion

A newly initialized SKCalloutView.

Declared In

SKCalloutView.h