Open lucky2046 opened 8 years ago
在一个tableview中先使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath )indexPath cellClass:(Class)cellClass cellContentViewWidth:(CGFloat)width cellDataSetting:(AutoCellHeightDataSettingBlock)cellDataSetting; 后使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath )indexPath model:(id)model keyPath:(NSString *)keyPath cellClass:(Class)cellClass contentViewWidth:(CGFloat)contentViewWidth;会出现崩溃的问题
问题出现在 else if (self.cellDataSetting) { self.cellDataSetting(self.modelCell); }
在一个tableview中先使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath )indexPath cellClass:(Class)cellClass cellContentViewWidth:(CGFloat)width cellDataSetting:(AutoCellHeightDataSettingBlock)cellDataSetting; 后使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath )indexPath model:(id)model keyPath:(NSString *)keyPath cellClass:(Class)cellClass contentViewWidth:(CGFloat)contentViewWidth;会出现崩溃的问题
问题出现在
else if (self.cellDataSetting) { self.cellDataSetting(self.modelCell); }