<!--
{
  "availability" : [
    "iOS: 9.1.0 -",
    "iPadOS: 9.1.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHLivePhotoView/startPlayback(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHLivePhotoView(im)startPlaybackWithStyle:"
  },
  "title" : "startPlayback(with:)"
}
-->

# startPlayback(with:)

Begins playback of Live Photo content in the view.

```
func startPlayback(with playbackStyle: PHLivePhotoViewPlaybackStyle)
```

## Parameters

`playbackStyle`

An option for how much of the Live Photo’s motion and sound content to play. See [`PHLivePhotoViewPlaybackStyle`](/documentation/PhotosUI/PHLivePhotoViewPlaybackStyle).

## Discussion

Use the `playbackStyle` parameter to choose whether to play the full motion and sound content of the Live Photo or only a brief section.

Typically, an app does not need to directly control playback, because a Live Photo view provides interactive playback control. Use this method only when non-interactive playback is appropriate—for example, to briefly animate the content to indicate that a view contains a Live Photo rather than a still image.

---

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)