خرید بک لینک

Vote count: 0

I currently have a UICollectionView within a UIScrollView, scrolling is disabled on the collectionView. The current issue is the collectionview cells are cut off, the collectionView doesn't dynamically set its height to fit within the scrollView. How can I change the collection to dynamically fit within the scrollview? Below is what I've tired

 let newHeight = collectionView.sizeThatFits(CGSizeMake(collectionView.bounds.width, CGFloat(MAXFLOAT)))
 collectionViewHeight.constant = newHeight.height

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 30 فروردين 1395 ساعت: 9:59

صفحه بندی