Instance Property

delegate

An object to be notified when Live Photo playback begins or ends.

Declaration

weak var delegate: PHLivePhotoViewDelegate? { get set }

See Also

Responding to Playback Events

protocol PHLivePhotoViewDelegate

The PHLivePhotoViewDelegate protocol describes messages sent by a PHLivePhotoView instance in response to playback events when playing the motion and sound content associated with a Live Photo. To receive these messages, implement the methods in this protocol in one of your controller objects and assign that object to the delegate property of a Live Photo view.