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

# delegate

An object to be notified when Live Photo playback begins or ends.

## Declaration

```swift
weak var delegate: (any PHLivePhotoViewDelegate)? { get set }
```

## See Also

### Responding to Playback Events

- [PHLivePhotoViewDelegate](photosui/phlivephotoviewdelegate.md)
