Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In iPad, scrolling is not smooth. #39

Open
gk704297 opened this issue Aug 8, 2018 · 1 comment
Open

In iPad, scrolling is not smooth. #39

gk704297 opened this issue Aug 8, 2018 · 1 comment

Comments

@gk704297
Copy link

gk704297 commented Aug 8, 2018

in case of iPad, continuous scrolling is not smooth it looks like my cell is vibrating, how to manage that ?
Thanks in Advance.

@suraj-ios
Copy link

@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()
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants