return cell;上边加判断 if(self.dataArray.count<1){ return cell; } 转载于:https://www.cnblogs.com/block123/p/4901303.html