Språk

SFAuthorizationView.Authorize(NSObject) Metod

Definition

Försöker auktorisera.

[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

Parametrar

sender
NSObject

Objektet som initierade auktoriseringen, eller null.

Returer

trueom auktoriseringen lyckades. annars . false

Attribut

Gäller för