在iOS 8中,一切都进行得很顺利,但是使用iOS 9我得到了以下错误消息:the item height must be less than the height of the UICollectionViewsection insets top and bottom values, minus the content insets top and bottom values
我把collectionView嵌入到tableView细胞中。我试过self.automaticallyAdjustsScro
我有一个带有可重用头部的UICollectionView (这就是为什么我使用集合而不是tableview)。单元格需要具有可变的高度,这取决于UILabel。我知道在UITableView中可以使用UITableViewAutomaticDimension自动调整单元格的大小,但我找不到一个类似的UICollectionView函数。有什么想法吗?override func co