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.

Declaration

@protocol PHLivePhotoViewDelegate

Topics

Responding to Live Photo Playback Events

- livePhotoView:willBeginPlaybackWithStyle:

Notifies the delegate that Live Photo playback is about to begin.

- livePhotoView:didEndPlaybackWithStyle:

Notifies the delegate that Live Photo playback has ended.

Relationships

Inherits From

See Also

Responding to Playback Events

delegate

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