EZLayout
EZLayout copied to clipboard
Prevent Misaligned frames
What would be the right way to deal with this problem?
This when used in UITableViewCell.
For example, after using:
EZLayoutSize *size = [EZLayoutSize widthPercentage:0.77 scaleFactor:1.0];
I see later on that I get:
frame = (291.25 10; 72.1875 72.1875);
Another odd issue, still in this context, that I get doubled width in relate to height, although they should both be equal:
<UIImageView: 0x14f66e780; frame = (10 10; 61.6 30.8);
Another interesting phenomenon is that After I scroll back and forth from this cell, everything seems to be ok.