url
The location of the media object.
Declaration
var url: 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.