Interface UINavigationBarDelegate

    • 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.