Trait ASAccountAuthenticationModificationControllerPresentationContextProviding

Source
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§

Source

unsafe fn presentationAnchorForAccountAuthenticationModificationController( &self, controller: &ASAccountAuthenticationModificationController, ) -> Retained<ASPresentationAnchor>
where Self: Sized + Message,

Available on crate feature ASFoundation and macOS only.

Return a view anchor that is most appropriate for authorization UI to be presented over.

Trait Implementations§

Source§

impl ProtocolType for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding

Source§

const NAME: &'static str = "ASAccountAuthenticationModificationControllerPresentationContextProviding"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn ASAccountAuthenticationModificationControllerPresentationContextProviding

Implementations on Foreign Types§

Source§

impl<T> ASAccountAuthenticationModificationControllerPresentationContextProviding for ProtocolObject<T>

Implementors§