---
title: url
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/url
---

# url

The URL for the webpage.

## Declaration

```swift
var url: URL? { get set }
```

## Discussion

Discussion Set this value to the webpage’s URL when the user navigates to a new URL.

## See Also

### Instance properties

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