invalidate
TypeScriptinvalidate(): voidSwift declarationfunc invalidate()Invalidates the grant, removing the capability from the process it was granted to.
struct · iOS 17.4+ · SDK 27.1
struct GrantAn object that represents a granted capability.
invalidate(): voidSwift declarationfunc invalidate()Invalidates the grant, removing the capability from the process it was granted to.
get isValid(): booleanSwift declarationvar isValid: Bool { get }`true` if the process has been granted the capability and the grant is still valid.
No declarations were skipped in this snapshot.