<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVURLAsset/init(url:options:)-2x8uu",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVURLAsset(im)initWithURL:options:"
  },
  "title" : "init(url:options:)"
}
-->

# init(url:options:)

Creates an asset that models the media resource at the specified URL.

```
init(url URL: URL, options: [String : Any]? = nil)
```

## Parameters

`URL`

A URL that references the media for the asset to model.

`options`

A dictionary that contains options used to customize the initialization of the asset.

    For supported keys and values, see [Initialization options](/documentation/AVFoundation/initialization-options)    .

## Return Value

An asset that models the media resource found at `URL`.

## Discussion

---

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)