init(contentsOfFile:uniformTypeIdentifier:)
Declaration
convenience init(contentsOfFile url: URL, uniformTypeIdentifier identifier: String)Discussion
Creates an attachment with an existing file on disk and type.
convenience init(contentsOfFile url: URL, uniformTypeIdentifier identifier: String)Creates an attachment with an existing file on disk and type.