我将 collectionView 放在 tableview 单元格(最顶部)上。
我收到一个错误:
Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a table view cell's content view. We're considering the collapse unintentional and using standard height instead. Cell: <CarTypeTableViewCell: 0x7f8f0bd13db0; baseClass = UITableViewCell; frame = (0 28; 414 101); clipsToBounds = YES; autoresize = W; layer = <CALayer: 0x600003dd0360>>
可能是什么问题呢?

不知道为什么自动检测不起作用,但是你可以手动放