Contents

securityScopeAllowOnlyReadAccess

Specifies that when creating a security-scoped bookmark, upon resolution, it provides a security-scoped URL allowing read-only access to a file-system resource.

Declaration

static var securityScopeAllowOnlyReadAccess: NSURL.BookmarkCreationOptions { get }

Discussion

This option is only meaningful when used along with the withSecurityScope option,

Use this option in an app that adopts App Sandbox. For more information, see App Sandbox Design Guide.

See Also

Options