FSPagerView
FSPagerView copied to clipboard
Position FSPagerview
Hi WenchaoD, I have a issue. I want to set FSPagerView's position is left. This is alway center. Excuse me for using transle.google
did you find any solution?
Any updates?
Any news?
Anything?
Any solution?
Hello guys, I am able to achieve it by updating the frame like:
pagerViewObj.itemSize = CGSize(width: UIScreen.main.bounds.width/3.4, height: UIScreen.main.bounds.width/2.5)
any update?
Shame I was going to use this but can't align to the left so no go.
Change the file FSPageViewLayout.swift in the line 78
from:
self.leadingSpacing = self.scrollDirection == .horizontal ? (collectionView.frame.width-self.actualItemSize.width)*0.5 : (collectionView.frame.height-self.actualItemSize.height)*0.5
to:
self.leadingSpacing = self.scrollDirection == .horizontal ? 0 : (collectionView.frame.height-self.actualItemSize.height)*0.5