pub unsafe trait UINavigationBarDelegate: UIBarPositioningDelegate + MainThreadOnly {
// Provided methods
fn navigationBar_shouldPushItem(
&self,
navigation_bar: &UINavigationBar,
item: &UINavigationItem,
) -> bool
where Self: Sized + Message { ... }
fn navigationBar_didPushItem(
&self,
navigation_bar: &UINavigationBar,
item: &UINavigationItem,
)
where Self: Sized + Message { ... }
fn navigationBar_shouldPopItem(
&self,
navigation_bar: &UINavigationBar,
item: &UINavigationItem,
) -> bool
where Self: Sized + Message { ... }
fn navigationBar_didPopItem(
&self,
navigation_bar: &UINavigationBar,
item: &UINavigationItem,
)
where Self: Sized + Message { ... }
fn navigationBarNSToolbarSection(
&self,
navigation_bar: &UINavigationBar,
) -> UINavigationBarNSToolbarSection
where Self: Sized + Message { ... }
}Available on crate features
UIBarCommon and UINavigationBar only.Expand description
Provided Methods§
Available on crate features
UINavigationItem and UIResponder and UIView only.Available on crate features
UINavigationItem and UIResponder and UIView only.Available on crate features
UINavigationItem and UIResponder and UIView only.Available on crate features
UINavigationItem and UIResponder and UIView only.Available on crate features UIResponder and UIView only.
UIResponder and UIView only.Which section of the NSToolbar this navigation bar should use when attempting to host in an NSToolbar. Returning ‘None’ will disable NSToolbar hosting as if preferredBehavioralStyle were set to ‘Pad’ The specific section returned will also affect how the navigation bar presents in that section.