AnnotStyleViewController

@interface AnnotStyleViewController : UIViewController <AnnotStyleDelegate>

The AnnotStyleViewController displays a list of controls for adjusting the appearance and properties of an annotation or annotation type. The available controls are determined based on the type of annotation provided.

  • Returns a new instance of an AnnotStyleViewController.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAnnotStyle:(nonnull AnnotStyle *)annotStyle;

    Swift

    init(annotStyle: AnnotStyle)

    Parameters

    annotStyle

    An instance of AnnotStyle initialized with an annotation or annotation type.

  • An object that manages and stores the current colors and properties for an annotation.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) AnnotStyle *_Nonnull annotStyle;

    Swift

    var annotStyle: AnnotStyle { get set }
  • An object that conforms to the AnnotStyleViewControllerDelegate protocol.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<AnnotStyleViewControllerDelegate>
        delegate;

    Swift

    weak var delegate: AnnotStyleViewControllerDelegate? { get set }
  • Request the AnnotStyleViewController to call its delegate’s annotStyleViewController:didCommitStyle method.

    Declaration

    Objective-C

    - (void)selectStyle;

    Swift

    func selectStyle()