美文网首页
iOS开发-UICollectionViewCell随UICol

iOS开发-UICollectionViewCell随UICol

作者: 恍然如梦_b700 | 来源:发表于2020-05-20 15:39 被阅读0次
self.mCollectionView.width = self.view.width
self.layout.itemSize = CGSize(width: self.view.width, height: 410*KSCALE_W)
self.mCollectionView.scrollToItem(at: IndexPath(row: self.currentIndex, section: 0), at: .centeredHorizontally, animated: false)

相关文章

网友评论

      本文标题:iOS开发-UICollectionViewCell随UICol

      本文链接:https://www.haomeiwen.com/subject/fwknohtx.html