SKCalloutViewDelegate Protocol Reference

Conforms to NSObject
Declared in SKCalloutViewDelegate.h

Overview

The SKCalloutViewDelegate defines a set of optional methods that you can use to receive notifications when the user interacts with the SKMapView’s callout view.

– calloutView:didTapLeftButton:

Called when the user taps on the left button.

- (void)calloutView:(SKCalloutView *)calloutView didTapLeftButton:(UIButton *)leftButton

Parameters

calloutView

The callout view.

leftButton

The left button.

Discussion

Called when the user taps on the left button.

Declared In

SKCalloutViewDelegate.h

– calloutView:didTapRightButton:

Called when the user taps on the right button.

- (void)calloutView:(SKCalloutView *)calloutView didTapRightButton:(UIButton *)rightButton

Parameters

calloutView

The callout view.

rightButton

The right button.

Discussion

Called when the user taps on the right button.

Declared In

SKCalloutViewDelegate.h