編輯

共用方式為


MKAnnotation_Extensions Class

Definition

Extension methods to the IMKAnnotation interface to support all the methods from the MKAnnotation protocol.

public static class MKAnnotation_Extensions
type MKAnnotation_Extensions = class
Inheritance
MKAnnotation_Extensions

Remarks

The extension methods for IMKAnnotation allow developers to treat instances of the interface as having all the optional methods of the original MKAnnotation protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetSubtitle(IMKAnnotation)
GetTitle(IMKAnnotation)
SetCoordinate(IMKAnnotation, CLLocationCoordinate2D)

Applies to