IASAuthorizationControllerPresentationContextProviding.GetPresentationAnchor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("presentationAnchorForAuthorizationController:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIWindow GetPresentationAnchor(AuthenticationServices.ASAuthorizationController controller);
[Foundation.Export("presentationAnchorForAuthorizationController:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSWindow GetPresentationAnchor(AuthenticationServices.ASAuthorizationController controller);
[<Foundation.Export("presentationAnchorForAuthorizationController:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPresentationAnchor : AuthenticationServices.ASAuthorizationController -> UIKit.UIWindow
override this.GetPresentationAnchor : AuthenticationServices.ASAuthorizationController -> UIKit.UIWindow
[<Foundation.Export("presentationAnchorForAuthorizationController:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPresentationAnchor : AuthenticationServices.ASAuthorizationController -> AppKit.NSWindow
override this.GetPresentationAnchor : AuthenticationServices.ASAuthorizationController -> AppKit.NSWindow
Parameters
- controller
- ASAuthorizationController
Returns
- Attributes