<!--
{
  "availability" : [
    "iOS: 9.0.0 - 12.0.0",
    "iPadOS: 9.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWebView/allowsPictureInPictureMediaPlayback",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIWebView(py)allowsPictureInPictureMediaPlayback"
  },
  "title" : "allowsPictureInPictureMediaPlayback"
}
-->

# allowsPictureInPictureMediaPlayback

A Boolean value that determines whether Picture in Picture playback is allowed from this view.

```
var allowsPictureInPictureMediaPlayback: Bool { get set }
```

## Discussion

The default value is <doc://com.apple.documentation/documentation/Swift/true> on devices that support Picture in Picture (PiP) mode and <doc://com.apple.documentation/documentation/Swift/false> on all other devices.

---

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)