tableView reloadRowsAtIndexPaths withRowAnimation 崩溃

来源:互联网 发布:淘宝直通车点击器 编辑:程序博客网 时间:2024/06/06 09:00

[_tableViewreloadRowsAtIndexPaths:pathArray withRowAnimation:UITableViewRowAnimationNone];

crash

谷歌之,

文章一:

reloadRowsAtIndexPaths:withRowAnimation: crashes my app

文章二:
http://lists.apple.com/archives/cocoa-dev/2012/Aug/msg00689.html

解决方法,

                    [_tableViewreloadRowsAtIndexPaths:pathArray withRowAnimation:UITableViewRowAnimationNone];

替换为

                    [_tableView reloadData];

草草了事。