Contents

pointerStyleProvider

A block that returns the pointer style to use when the pointer hovers over the button.

Declaration

@property (nonatomic, copy, readwrite) UIButtonPointerStyleProvider pointerStyleProvider;

Discussion

To change the appearance of the pointer when it hovers over the button, create a UIButtonPointerStyleProvider block that returns a UIPointerStyle describing the pointer shape and content effect. Then assign the closure to pointerStyleProvider. For more information, see Enhancing your iPad app with pointer interactions.

See Also

Supporting pointer interactions