I want to draw 2 buttons in one cell and when the button is pressed, the blue image will cover half of the cell.
But there is 1 pixel I can't draw.
Here is the situation:
And the code:
[self addGood12ToView:cell.contentView productDetail:productDetail];
In this function, I called:
UIButton *lbGood1 = [UIButton buttonWithType:UIButtonTypeCustom];
[lbGood1 setFrame:CGRectMake(0, 0, 150, lbGood1_Size.height+19)];
...
[cell.contentView addSubview:lbGood1];