GMGridView
GMGridView copied to clipboard
can not see delete button on the top of each cell.
Hi, there
Have you ever complied the source code of GMGridView example project ? Even though it has a few lines of code wich allows users to see the delete button . But actually , it doesn't appear on the cell .
Here I attach the code , this is just same as example .
if (!cell)
{
cell = [[GMGridViewCell alloc] init];
cell.deleteButtonIcon = [UIImage imageNamed:@"close_x.png"];
cell.deleteButtonOffset = CGPointMake(-15, -15);
...
}
Many thanks in advices.
In the file GMGridViewCell.m self.deleteButton.alpha = 0; Should be set to 1