语言

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.

特性

适用于