Open lucky2046 opened 8 years ago
在使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath *)indexPath cellClass:(Class)cellClass cellContentViewWidth:(CGFloat)width cellDataSetting:(AutoCellHeightDataSettingBlock)cellDataSetting;方式算高的情况下,第一次被调用时self.cellDataSetting = cellDataSetting;不起作用,因为此时cellAutoHeightManager还未初始化
我也遇到这个问题了 https://github.com/YunsChou/YsResource/blob/master/SDAutoLayout第一个cell高度显示不全.gif
+1
在使用- (CGFloat)cellHeightForIndexPath:(NSIndexPath *)indexPath cellClass:(Class)cellClass cellContentViewWidth:(CGFloat)width cellDataSetting:(AutoCellHeightDataSettingBlock)cellDataSetting;方式算高的情况下,第一次被调用时self.cellDataSetting = cellDataSetting;不起作用,因为此时cellAutoHeightManager还未初始化