扫码关注官方订阅号
UIViewController 如何知道自己被NavigationController Pop掉了。首先viewDidDisappear这种是统一的界面消失,不能判断是不是pop
如何破啊?
小伙看你根骨奇佳,潜力无限,来学PHP伐。
你看下UINavigationControllerDelegate
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated; - (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated;
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
你看下UINavigationControllerDelegate