我用来填充Cell的是一个定义的属性:@property (weak,nonatomic) NSMutableArray *bookIndexes; 后来发现运行时发现一下拉屏幕,tableview的上部分就消失了,最后发现bookindexes属性不应该定义为weak,原因:Assigning retained object to weak property; object will be released after assignment. If the destination object is deallocated, the property value is automatically set to nil
. 所以将weak改为strong就行。