FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

pagerView.itemSize and pagerView.interitemSpacing not working

Open dimpy-iroid opened this issue 11 months ago • 0 comments

This is my code:

self.selectedImagesPagerView.transformer = FSPagerViewTransformer(type: .linear) self.selectedImagesPagerView.itemSize = CGSize(width: self.selectedImagesPagerView.frame.width, height: self.selectedImagesPagerView.frame.height) self.selectedImagesPagerView.interitemSpacing = 10

Hello, I am having trouble achieving a 9:16 ratio in my FSPagerViewCell, which has both an image and a button on it. I have tried setting the itemSize to CGSize(width: self.selectedImagesPagerView.frame.width, height: self.selectedImagesPagerView.frame.height) but it doesn't seem to be working. Additionally, the button on the image is not appearing. interitemSpacing of 10 is also not working. Could you please assist me with this issue? Thank you.

Expected Result: Frame 2169

Achieved Result: Simulator Screen Recording - iPhone 14 Pro - 2023-08-02 at 15.48.22.mp4.zip

dimpy-iroid avatar Aug 02 '23 10:08 dimpy-iroid