Open gk704297 opened 6 years ago
@gk704297
override func viewDidLayoutSubviews() { self.setupLayout() if self.indexNumber == 0{ /// Set indexNumber only for the 1st cell let layout = UPCarouselFlowLayout() layout.itemSize = CGSize(width:view.frame.width, height:448) layout.scrollDirection = .horizontal self.collectionView.collectionViewLayout = layout } self.rotationDidChange() }
in case of iPad, continuous scrolling is not smooth it looks like my cell is vibrating, how to manage that ? Thanks in Advance.