Instance Method

stopAccessingSecurityScopedResource()

Revokes the access granted to the url by a prior successful call to the complementary start function.

Declaration

func stopAccessingSecurityScopedResource()

Discussion

Use startAccessingSecurityScopedResource() to begin accessing a security scoped resource and stopAccessingSecurityScopedResource() to revoke that access.

See Also

Working with Security Scoped Resources

func startAccessingSecurityScopedResource() -> Bool

Given a url created by resolving a bookmark data created with security scope, make the resource referenced by the url accessible to the process.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software