RFQuiltLayout
RFQuiltLayout copied to clipboard
Margin error
Hi, i've a problem with margins. How i set margin to leading and trailing to superview? My auto layout constraint are correct:

I am having a similar issue. Did you figure out the solution on this?
I had this same problem. Managed to fix it by changing the initialize method of RFQuiltLayout.m to the following:
- (void) initialize {
// defaults
self.direction = UICollectionViewScrollDirectionVertical;
float defaultDimension = [[UIScreen mainScreen] bounds].size.width / 3;
self.blockPixels = CGSizeMake(defaultDimension, defaultDimension);
}
Hi, this don't work for me.
My app have margin problems only in iPhone 6+ and 7+, any ideas?