Instance Property

url

The URL of the file for this attachment.

Declaration

var url: URL { get }

Discussion

The file at the specified URL is security scoped to your app. Before you access it, call the startAccessingSecurityScopedResource() method of NSURL.

See Also

Getting the Attachment Contents

var identifier: String

The unique identifier for the attachment.

var type: String

The UTI type of the attachment.