4
This commit is contained in:
@@ -11,6 +11,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface BaseNavigationController : UINavigationController
|
||||
|
||||
/// Push 一个 VC,如果栈中已存在同 class 的 VC,则先移除旧的,再 push 新的。
|
||||
/// 常用于类似“登录/注册”这类会互相跳转的页面,避免堆叠多个相同页面实例。
|
||||
- (void)kb_pushViewControllerRemovingSameClass:(UIViewController *)viewController
|
||||
animated:(BOOL)animated;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user