Contents

url

The URL from which the image was loaded.

Declaration

var url: URL? { get }

Discussion

A URL is available only if the image object was created with a URL (such as with the init(contentsOf:) method or related methods). Otherwise, this property’s value is nil.

See Also

Getting Image Information