pub unsafe trait ASAccountAuthenticationModificationControllerPresentationContextProviding: NSObjectProtocol + MainThreadOnly {
// Provided method
unsafe fn presentationAnchorForAccountAuthenticationModificationController(
&self,
controller: &ASAccountAuthenticationModificationController,
) -> Retained<ASPresentationAnchor>
where Self: Sized + Message { ... }
}
Available on crate feature
ASAccountAuthenticationModificationController
only.Expand description
Provided Methods§
Sourceunsafe fn presentationAnchorForAccountAuthenticationModificationController(
&self,
controller: &ASAccountAuthenticationModificationController,
) -> Retained<ASPresentationAnchor>
Available on crate feature ASFoundation
and macOS only.
unsafe fn presentationAnchorForAccountAuthenticationModificationController( &self, controller: &ASAccountAuthenticationModificationController, ) -> Retained<ASPresentationAnchor>
ASFoundation
and macOS only.Return a view anchor that is most appropriate for authorization UI to be presented over.