We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想通过实现该方法来达到删除前一个控制器,但是过度的时候会出现卡顿问题
The text was updated successfully, but these errors were encountered:
我这样子实现系统方法:
(void)setViewControllers:(NSArray<UIViewController *> *)viewControllers animated:(BOOL)animated { NSMutableArray * tempViewControllers = [NSMutableArray array];
[viewControllers enumerateObjectsUsingBlock:^(__kindof UIViewController * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { if ([obj isKindOfClass:[JKInterLayerViewController class]]) { [tempViewControllers addObject:obj]; } else { obj.jk_rootNavigationController = self; JKInterLayerViewController * interlayerViewController = [JKInterLayerViewController jk_interlayerViewControllerWithRootViewController:obj]; [tempViewControllers addObject:interlayerViewController]; } }];
[super setViewControllers:tempViewControllers animated:animated]; }
Sorry, something went wrong.
No branches or pull requests
想通过实现该方法来达到删除前一个控制器,但是过度的时候会出现卡顿问题
The text was updated successfully, but these errors were encountered: