Contents

livePhotoView(_:canBeginPlaybackWith:)

Notifies the delegate to determine whether the Live Photo can begin playback.

Declaration

optional func livePhotoView(_ livePhotoView: PHLivePhotoView, canBeginPlaybackWith playbackStyle: PHLivePhotoViewPlaybackStyle) -> Bool

Parameters

  • livePhotoView:

    The view requesting whether it can begin the playback of Live Photo content.

  • playbackStyle:

    The style of playback, indicating whether the content can play in full or as a brief preview.

Return Value

Whether the playback of Live Photo content can begin.

See Also

Responding to Live Photos Playback Events