---
title: "livePhotoView(_:extraMinimumTouchDurationFor:with:)"
framework: photosui
role: symbol
role_heading: Instance Method
path: "photosui/phlivephotoviewdelegate/livephotoview(_:extraminimumtouchdurationfor:with:)"
---

# livePhotoView(_:extraMinimumTouchDurationFor:with:)

Notifies the delegate to offset the timing of a touch.

## Declaration

```swift
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

Return Value The time interval offset.

## See Also

### Responding to Live Photos Playback Events

- [livePhotoView(_:canBeginPlaybackWith:)](photosui/phlivephotoviewdelegate/livephotoview(_:canbeginplaybackwith:).md)
- [livePhotoView(_:willBeginPlaybackWith:)](photosui/phlivephotoviewdelegate/livephotoview(_:willbeginplaybackwith:).md)
- [livePhotoView(_:didEndPlaybackWith:)](photosui/phlivephotoviewdelegate/livephotoview(_:didendplaybackwith:).md)
