In an app that adopts App Sandbox, revokes access to the resource pointed to by a security-scoped URL.
Mac Catalyst 13.0+Beta
When you no longer need access to a file or directory pointed to by a security-scoped URL, such as one returned by resolving a security-scoped bookmark, call this method (or its Core Foundation equivalent, the CFURLStopAccessingSecurityScopedResource(_:) function) on the URL to relinquish access. When you call this method, you immediately lose access to the resource in question.
If you call this method on a URL whose referenced resource you do not have access to, nothing happens.
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.