I've successfully fixed a similar crash bug with the help of Apple. The key is the reuseIdentifer
.
The quote is from a mail from Vincent Gable of Apple Developer Technical Support:
This is a known behavior change that happens in iOS 7 with
UITableView
, when cells are not reused.The fix here is to make sure that you follow proper cell reuse. If you do not want to re-use
UITableViewCells
, then it is recommended that you simply layout all your views inside aUIScrollView
.To make sure cells are re-used, make sure you are passing the same string to
dequeueReusableCellWithIdentifier:
that you pass toreuseIdentifier:
when usingalloc/init
to make the cell. This string can not be nil.
So I think you should make sure you've set TableCell
's reuseIdentifer
property with the same value you've passed to dequeueReusableCellWithIdentifier: