Search code examples
iphoneios4ios-simulator

how to solve error EXC_BAD_ACCESS in my application?


I am loading the custom cell on tableView and i return 50 rows in the tableView. number of some rows are display in the tableview but when scroll the tableview my customcell is not display and I have the error

"EXC_BAD_ACCESS"

and also display following message on the console

"void SendDelegateMessage(NSInvocation*): delegate (webViewDidLayout:) failed to return after waiting 10 seconds. main run loop mode: UITrackingRunLoopMode"


Solution

  • I think you get this error due to your method of making custom cells. When you made the class file for the custom cell in the .m file you released the IBOutlets. Try removing that portion from your code than try.

    I had the same problem in an app, and I solved that problem this way. Maybe this solution will work for you too.