語言

SFAuthorizationView.Authorize(NSObject) 方法

定義

嘗試授權。

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

參數

sender
NSObject

發起授權的物件,或 null。

傳回

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

屬性

適用於