Language

SFAuthorizationView.Authorize(NSObject) Method

Definition

Attempts to authorize.

[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

Parameters

sender
NSObject

The object that initiated the authorization, or null.

Returns

true if authorization succeeded; otherwise, false.

Attributes

Applies to