xcode 仪器指向 main ( ) 中的 NSZombie
我一直在设备上解决 EXC_BAD_ACCESS 问题,终于能够在模拟器中复制该问题。我在 Instruments 中使用了 NSZombie,它指向 main.m 中的代码,如下面的屏幕截图所示。
我很困惑是什么导致了这种情况以及解决方案是什么。该应用程序是一个基于 tabBarController 的应用程序。第三个选项卡是一个 navController,有 3 个 VC。前两个 VC 是 tableViewController。点击第一个 VC 中的行会进入第二个 VC 中的表。当第二个VC中的表的行数>时全屏,我滚动到底部查看一个条目。接下来,当我使用 navController 的“后退”按钮返回到第一个 VC 时,就会发生崩溃。我希望我说得有道理...
谢谢,
I have been fighting EXC_BAD_ACCESS problem on the device, and finally was able to dup the problem in the simulator. I used NSZombie in Instruments and it points to code in main.m as shown below in the screenshots.
I am confused as to what can cause this and what the solution would be. The app is a tabBarController-based app. The third tab is a navController, with 3 VCs. The first two VCs are tableViewController. Tapping a row in the first VC leads to the table in the second VC. When the table in the second VC has number of rows > screenful and I scroll to the bottom to look at an entry. The crash happens when, next, I return to the first VC using the navController's Back button. I hope I am making sense...
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论