語言

SFAuthorizationView.Deauthorize(NSObject) 方法

定義

試圖解除授權。

[Foundation.Export("deauthorize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Deauthorize(Foundation.NSObject? sender);
[<Foundation.Export("deauthorize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Deauthorize : Foundation.NSObject -> bool
override this.Deauthorize : Foundation.NSObject -> bool

參數

sender
NSObject

啟動解除授權的物件,或 null。

傳回

true若撤銷授權成功;否則,。 false

屬性

適用於