Instance Method


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


func startAccessingSecurityScopedResource() -> Bool


When access to the resource is no longer needed, call stopAccessingSecurityScopedResource(). Each call to startAccessingSecurityScopedResource() must be balanced with a call to stopAccessingSecurityScopedResource(). (Note: this is not reference counted).

See Also

Working with Security Scoped Resources

func stopAccessingSecurityScopedResource()

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