delegate
An object that acts as the delegate of the preview interaction.
Declaration
weak var delegate: (any UIPreviewInteractionDelegate)? { get set }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 protocol and assign it to this property.