Contents

originalURL

The location of the original media object, if Url is not the original location.

Declaration

var originalURL: URL? { get }

Discussion

This property is provided as a security-scoped URL. In order to gain access to the file that this URL refers to, the caller must call startAccessingSecurityScopedResource() before and stopAccessingSecurityScopedResource() after using the URL to access the file. For more information about security-scoped URLs, see NSURL.

See Also

Accessing Object Attributes