Noticed a bunch of my collection views in beta 3 are showing up too tall, but immediately shrink to size when I scroll. Looks like it is setting the cell size to layout.estimatedItemSize and not resizing to fit prior to drawing (these are autosized, with full constraints).
I've solved for now by making my view controllers UICollectionViewDelegateFlowLayout, and doing:
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
... create dummy cell
... populate cell with appropriate label text, etc., to make it the right size
let size = cell.contentView.systemLayoutSizeFitting(UILayoutFittingCompressedSize)
return size
}
I think this is a bug in beta 3 since it worked fine in the first two betas and 11.x, but could be my constraints are weird or something.