public interface UINavigationBarDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didPopItem(UINavigationBar bar,
UINavigationItem item)
It is used after an item is poped from the navigation bar.
|
default void |
didPushItem(UINavigationBar bar,
UINavigationItem item)
It is used after an item is pushed to the navigation bar.
|
default boolean |
shouldPopItem(UINavigationBar bar,
UINavigationItem item)
It is used before an item is popped from the navigation bar.
|
default boolean |
shouldPushItem(UINavigationBar bar,
UINavigationItem item)
It is used before an item is pushed to the navigation bar.
|
default boolean shouldPushItem(UINavigationBar bar, UINavigationItem item)
bar
- The navigation bar that corresponds to this delegate.item
- The item that is about to be pushed to the navigation bar.default void didPushItem(UINavigationBar bar, UINavigationItem item)
bar
- The navigation bar that corresponds to this delegate.item
- The item that was pushed to the navigation bardefault boolean shouldPopItem(UINavigationBar bar, UINavigationItem item)
bar
- The navigation bar that corresponds to this delegate.item
- The item that is about to be popped from the navigation bar.default void didPopItem(UINavigationBar bar, UINavigationItem item)
bar
- The navigation bar that corresponds to this delegate.item
- The item that was poped from the navigation barCopyright © 2020. All rights reserved.