FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

How to have dynamic cell size like this collectionView delegate function: sizeForItemAt

Open HappyIosDeveloper opened this issue 2 years ago • 2 comments

Hi, any idea how to handle cells size in runtime?

like sizeForItemAt function in UICollectionView?

HappyIosDeveloper avatar Aug 04 '21 14:08 HappyIosDeveloper

Did you try pagerView.itemSize? Unfortunately, there is no option for indexPath this way.

saeid-pm avatar Nov 18 '21 13:11 saeid-pm

You have to use -> if index == self.pagerview.currentindex { } . it will work for you.

aleemtoor avatar Jan 25 '22 17:01 aleemtoor