Instance Method

livePhotoView(_:willBeginPlaybackWith:)

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

Declaration

optional func livePhotoView(_ livePhotoView: PHLivePhotoView, willBeginPlaybackWith playbackStyle: PHLivePhotoViewPlaybackStyle)

Parameters

livePhotoView

The view beginning playback of Live Photo content.

playbackStyle

The style of playback, indicating whether the content is to be played in full or briefly previewed.

See Also

Responding to Live Photo Playback Events

func livePhotoView(PHLivePhotoView, didEndPlaybackWith: PHLivePhotoViewPlaybackStyle)

Notifies the delegate that Live Photo playback has ended.