---
title: "init(url:)"
framework: tvservices
role: symbol
role_heading: Initializer
path: "tvservices/tvtopshelfaction/init(url:)-2zqfn"
---

# init(url:)

Creates a new action object that displays the content at the specified URL.

## Declaration

```swift
init(url URL: URL)
```

## Parameters

- `URL`: The URL of the content you want to display. Specify a deep link into your content. For example, specify the location of media items that you want to play, or specify the location of a page in your app that you want to display.

## Return Value

Return Value A new action object.
