AGImagePickerController
AGImagePickerController copied to clipboard
BUG: Final items in a long grid fill in the row with random items
@arturgrigor If I have a grid of items that is long enough to scroll and the final item starts a new row for instance one photo and there should be 3 unused cells to make up a row of 4 items. The grid will autofill in those blank cells with random duplicate items from above rows that have similar placements like the last 3 items in a row would then fill in the last row as well, and even more odd is that if you scroll up and back down those items will change.
This is in OX's code as well.
@mibiodev I found that gridItem was added to AGIPCGridCell by mistake,
please replace the these code in file AGIPCGridCell.m line 47
old
for (AGIPCGridItem *gridItem in _items)
{
[self addSubview:gridItem];
}
new
for (AGIPCGridItem *gridItem in _items)
{
[self.contentView addSubview:gridItem];
}