CGSize rendered is different from CGSize returned from `sizeForItemAtIndexPath`
thexande opened this issue · 1 comments
thexande commented
Greetings!!
Amazing project. I was able to get it up and running perfectly, apart from the following issue.
I want to subtract 20 from my cell width in sizeforItemAtIndexPath
method to account for 10pt content insets on both sides of the collection view. The issue is that the CGSize
I am returning is not what is being rendered on the device or the simulator. This is what I have set in the delegate method:
As you can see, the width should render to 369 pts in the simulator. However, the width rendered is 379.
Any thoughts? THANKS SO MUCH!!
sagarthecoder commented
I'm also facing this problem. Is their any solution?