UIScrollView EXC_BAD_ACCESS crash in iOS SDK

前端 未结 9 1637
暖寄归人
暖寄归人 2020-12-24 11:49

I have an iPhone SDK application that has several views that appear and disappear as the user creates content. After using the application on a device for a while, I get th

9条回答
  •  一整个雨季
    2020-12-24 12:13

    The UIScrollView on stack frame #1 probably wants to inform its delegate about the animation ending, but the delegate is gone at that point. Setting NSZombieEnabled would probably confirm this.

    Delegates are not retained, so this is a common error in Cocoa and Cocoa Touch. Look for delegates on UIScrollView or UITableView in your code and try to find out which one might be released before its time.

提交回复
热议问题