Open app111 opened 7 years ago
去掉 isSystemVersionEqualOrGreaterThen10_2 即可
Line 85: // Auto layout engine does its math fittingHeight = [cell.contentView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;
isSystemVersionEqualOrGreaterThen10_2里面修改layout的优先级为high-1即可
去掉 isSystemVersionEqualOrGreaterThen10_2 即可
import "UITableView+FDTemplateLayoutCell.h"
Line 85: // Auto layout engine does its math fittingHeight = [cell.contentView systemLayoutSizeFittingSize:UILayoutFittingCompressedSize].height;