Instance Property

calloutOffset

The offset (in points) at which to place the callout bubble.

Declaration

@property(nonatomic) CGPoint calloutOffset;

Discussion

This property determines the additional distance by which to move the callout bubble. When this property is set to (0, 0), the anchor point of the callout bubble is placed on the top-center point of the annotation view’s frame. Specifying positive offset values moves the callout bubble down and to the right, while specifying negative values moves it up and to the left.

The calloutOffset property is not used in macOS apps. Instead, macOS apps use leftCalloutOffset and rightCalloutOffset.

See Also

Getting and Setting Attributes

enabled

A Boolean value indicating whether the annotation is enabled.

image

The image to be displayed by the annotation view.

highlighted

A Boolean value indicating whether the annotation view is highlighted.

annotation

The annotation object currently associated with the view.

centerOffset

The offset (in points) at which to display the view.

reuseIdentifier

The string that identifies that this annotation view is reusable.