Package apple.uikit.protocol
Interface UINavigationBarDelegate
-
- All Superinterfaces:
UIBarPositioningDelegate
public interface UINavigationBarDelegate extends UIBarPositioningDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidnavigationBarDidPopItem(@NotNull UINavigationBar navigationBar, @NotNull UINavigationItem item)default voidnavigationBarDidPushItem(@NotNull UINavigationBar navigationBar, @NotNull UINavigationItem item)called at end of animation of push or immediately if not animateddefault longnavigationBarNSToolbarSection(@NotNull UINavigationBar navigationBar)Which section of the NSToolbar this navigation bar should use when attempting to host in an NSToolbar.default booleannavigationBarShouldPopItem(@NotNull UINavigationBar navigationBar, @NotNull UINavigationItem item)same as push methodsdefault booleannavigationBarShouldPushItem(@NotNull UINavigationBar navigationBar, @NotNull UINavigationItem item)called to push.-
Methods inherited from interface apple.uikit.protocol.UIBarPositioningDelegate
positionForBar
-
-
-
-
Method Detail
-
navigationBarDidPopItem
default void navigationBarDidPopItem(@NotNull @NotNull UINavigationBar navigationBar, @NotNull @NotNull UINavigationItem item)
-
navigationBarDidPushItem
default void navigationBarDidPushItem(@NotNull @NotNull UINavigationBar navigationBar, @NotNull @NotNull UINavigationItem item)called at end of animation of push or immediately if not animated
-
navigationBarShouldPopItem
default boolean navigationBarShouldPopItem(@NotNull @NotNull UINavigationBar navigationBar, @NotNull @NotNull UINavigationItem item)same as push methods
-
navigationBarShouldPushItem
default boolean navigationBarShouldPushItem(@NotNull @NotNull UINavigationBar navigationBar, @NotNull @NotNull UINavigationItem item)called to push. return NO not to.
-
navigationBarNSToolbarSection
default long navigationBarNSToolbarSection(@NotNull @NotNull UINavigationBar navigationBar)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.
-
-