init(url:options:)
Creates an asset that models the media resource at the specified URL.
Declaration
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.
Return Value
An asset that models the media resource found at URL.