---
title: urlIsPictureInPicture
framework: Screen Time
role: symbol
role_heading: Instance Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+]
path: screentime/stwebpagecontroller/urlispictureinpicture
---

# urlIsPictureInPicture

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

## Declaration

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

## Discussion

Discussion The default value is NO. Set this value when the webpage starts or stops displaying a Picture in Picture window. important: Set this value to NO prior to changing url if the new webpage at that URL ends all currently displayed Picture in Picture windows, and won’t immediately display a new one.

## See Also

### Instance properties

- [suppressUsageRecording](screentime/stwebpagecontroller/suppressusagerecording.md)
- [url](screentime/stwebpagecontroller/url.md)
- [urlIsBlocked](screentime/stwebpagecontroller/urlisblocked.md)
- [urlIsPlayingVideo](screentime/stwebpagecontroller/urlisplayingvideo.md)
