pub unsafe trait UIAdaptivePresentationControllerDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn adaptivePresentationStyleForPresentationController(
&self,
controller: &UIPresentationController
) -> UIModalPresentationStyle
where Self: Sized + Message { ... }
unsafe fn adaptivePresentationStyleForPresentationController_traitCollection(
&self,
controller: &UIPresentationController,
trait_collection: &UITraitCollection
) -> UIModalPresentationStyle
where Self: Sized + Message { ... }
unsafe fn presentationController_prepareAdaptivePresentationController(
&self,
presentation_controller: &UIPresentationController,
adaptive_presentation_controller: &UIPresentationController
)
where Self: Sized + Message { ... }
unsafe fn presentationController_viewControllerForAdaptivePresentationStyle(
&self,
controller: &UIPresentationController,
style: UIModalPresentationStyle
) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
unsafe fn presentationController_willPresentWithAdaptiveStyle_transitionCoordinator(
&self,
presentation_controller: &UIPresentationController,
style: UIModalPresentationStyle,
transition_coordinator: Option<&ProtocolObject<dyn UIViewControllerTransitionCoordinator>>
)
where Self: Sized + Message { ... }
unsafe fn presentationControllerShouldDismiss(
&self,
presentation_controller: &UIPresentationController
) -> bool
where Self: Sized + Message { ... }
unsafe fn presentationControllerWillDismiss(
&self,
presentation_controller: &UIPresentationController
)
where Self: Sized + Message { ... }
unsafe fn presentationControllerDidDismiss(
&self,
presentation_controller: &UIPresentationController
)
where Self: Sized + Message { ... }
unsafe fn presentationControllerDidAttemptToDismiss(
&self,
presentation_controller: &UIPresentationController
)
where Self: Sized + Message { ... }
}Available on crate feature
UIPresentationController only.Provided Methods§
unsafe fn adaptivePresentationStyleForPresentationController( &self, controller: &UIPresentationController ) -> UIModalPresentationStyle
Available on crate feature
UIViewController only.unsafe fn adaptivePresentationStyleForPresentationController_traitCollection( &self, controller: &UIPresentationController, trait_collection: &UITraitCollection ) -> UIModalPresentationStyle
Available on crate features
UITraitCollection and UIViewController only.unsafe fn presentationController_prepareAdaptivePresentationController( &self, presentation_controller: &UIPresentationController, adaptive_presentation_controller: &UIPresentationController )
unsafe fn presentationController_viewControllerForAdaptivePresentationStyle( &self, controller: &UIPresentationController, style: UIModalPresentationStyle ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.unsafe fn presentationController_willPresentWithAdaptiveStyle_transitionCoordinator( &self, presentation_controller: &UIPresentationController, style: UIModalPresentationStyle, transition_coordinator: Option<&ProtocolObject<dyn UIViewControllerTransitionCoordinator>> )
Available on crate features
UIViewController and UIViewControllerTransitionCoordinator only.