Fatal Exception: NSInvalidArgumentException <bi123.BaseNavigationController: 0x107073a00> is pushing the same view controller instance (<bi123.SignalDetailVC: 0x10701fc00>) more than once which is not supported and is most likely an error in the application : com.wd.bi123
时间: 2024-04-04 10:32:26 浏览: 156
这个异常的意思是您尝试将同一个ViewController的实例再次push进入导航栈中,这是不被支持的,通常是应用程序中的错误。
解决这个问题的方法有两种:
1. 如果您确实需要重复push同一个ViewController实例,可以使用popToViewController:animated:方法将导航栈中的该实例弹出,然后再次push。
2. 如果您不需要重复push同一个ViewController实例,可以检查您的代码逻辑,确保在push之前,该ViewController实例不在导航栈中。
希望以上内容能对您有所帮助。如果还有其他问题,请随时提出。
阅读全文
相关推荐


















