<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Screen Time",
  "identifier" : "/documentation/ScreenTime/STWebpageController/urlIsPictureInPicture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Screen Time"
    ],
    "preciseIdentifier" : "c:objc(cs)STWebpageController(py)URLIsPictureInPicture"
  },
  "title" : "urlIsPictureInPicture"
}
-->

# urlIsPictureInPicture

A Boolean that indicates whether the webpage is currently displaying a
floating picture in picture window.

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

## Discussion

The default value is <doc://com.apple.documentation/documentation/ObjectiveC/NO>. Set this value when the webpage starts or
stops displaying a Picture in Picture window.

> Important: Set this value to <doc://com.apple.documentation/documentation/ObjectiveC/NO> prior to changing
> ``doc://com.apple.Screen-Time/documentation/ScreenTime/STWebpageController/url`` if the new webpage at that URL ends all
> currently displayed Picture in Picture windows, and won’t immediately
> display a new one.

---

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)