Instance Property

delegate

An object that acts as the delegate of the preview interaction.

Declaration

@property(nonatomic, weak) id<UIPreviewInteractionDelegate> delegate;

Discussion

The preview interaction informs the delegate of state and progress changes throughout the 3D Touch process. Create an object that conforms to the UIPreviewInteractionDelegate method and assign it to this property.

See Also

Preparing Preview Interactions

- initWithView:

Returns a newly initialized preview interaction for the specified view.