---
title: playbackGestureRecognizer
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phlivephotoview/playbackgesturerecognizer
---

# playbackGestureRecognizer

A gesture recognizer that controls playback of the Live Photo in the view.

## Declaration

```swift
var playbackGestureRecognizer: UIGestureRecognizer { get }
```

## Mentioned in

Displaying Live Photos

## Discussion

Discussion The Live Photo view automatically creates and installs this gesture recognizer. Use this property to customize the gesture recognizer’s behavior. For example, you might use it in delegate methods that affect how it interacts with other gesture recognizers, or install it on a different view to ensure proper event handling in your app’s view hierarchy.

## See Also

### Managing Playback

- [isMuted](photosui/phlivephotoview/ismuted.md)
- [audioVolume](photosui/phlivephotoview/audiovolume.md)
