2021-03-29

UICollectionView frame Height is not same as it is in Xib Inspector

My storyboard have one collection view. In sizeForItem delegate method, I printed collectionView Frame height, which comes out as 769. But when i inspected XIB, it is 741. Please explain the difference. enter image description here

Then I inspected in XIB. And height is showing 741.

enter image description here



from Recent Questions - Stack Overflow https://ift.tt/3cizMoH
https://ift.tt/3lYdmwt

No comments:

Post a Comment