---
title: "stopPlayback(animated:)"
framework: photosui
role: symbol
role_heading: Instance Method
path: "photosui/phlivephotoview/stopplayback(animated:)"
---

# stopPlayback(animated:)

Stops playback of a Live Photo in an animated manner.

## Declaration

```swift
func stopPlayback(animated: Bool)
```

## Parameters

- `animated`: A Boolean value that indicates whether playback stops immediately or with animation.

## Discussion

Discussion Calling this method with a value of false is the same as calling stopPlayback().

## See Also

### Manually Playing Live Photo Content

- [startPlayback(with:)](photosui/phlivephotoview/startplayback(with:).md)
- [stopPlayback()](photosui/phlivephotoview/stopplayback().md)
