How to alig cell to top by Flow Layout in CollectionView
问题 In this code I am trying to change the size of the first cell of the UICollectionView and the others with the same size but in the first row only one cell is coming out when I want two to come out: func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: if indexPath.row == 0 { return CGSize(width: collectionView.frame.width/1.5-2, height: collectionView.frame.width/1.5-2) } else { return CGSize(width: collectionView.frame.width/3.0-3, height: collectionView.frame