Contents

livePhotoView(_:extraMinimumTouchDurationFor:with:)

Notifies the delegate to offset the timing of a touch.

Declaration

optional func livePhotoView(_ livePhotoView: PHLivePhotoView, extraMinimumTouchDurationFor touch: UITouch, with playbackStyle: PHLivePhotoViewPlaybackStyle) -> TimeInterval

Parameters

  • livePhotoView:

    The view that ends playback of Live Photos content.

  • touch:

    The touch to offset the timing for.

  • playbackStyle:

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

Return Value

The time interval offset.

See Also

Responding to Live Photos Playback Events