<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlayerViewPictureInPictureDelegate/playerView(_:failedToStartPictureInPictureWithError:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(pl)AVPlayerViewPictureInPictureDelegate(im)playerView:failedToStartPictureInPictureWithError:"
  },
  "title" : "playerView(_:failedToStartPictureInPictureWithError:)"
}
-->

# playerView(_:failedToStartPictureInPictureWithError:)

Tells the delegate that Picture in Picture playback failed to start.

```
optional func playerView(_ playerView: AVPlayerView, failedToStartPictureInPictureWithError error: any Error)
```

## Parameters

`playerView`

The player view.

`error`

An error object describing the failure.

---

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)