<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHLivePhotoView/stopPlayback(animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHLivePhotoView(im)stopPlaybackAnimated:"
  },
  "title" : "stopPlayback(animated:)"
}
-->

# stopPlayback(animated:)

Stops playback of a Live Photo in an animated manner.

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

## Parameters

`animated`

A Boolean value that indicates whether playback stops immediately or with animation.

## Discussion

Calling this method with a value of `false` is the same as calling [`stopPlayback()`](/documentation/PhotosUI/PHLivePhotoView/stopPlayback()).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)