alikaragoz / MCSwipeTableViewCell

:point_up_2: Convenient UITableViewCell subclass that implements a swippable content to trigger actions (similar to the Mailbox app).
MIT License
2.96k stars 412 forks source link

White background flickering #28

Closed andriyadi closed 11 years ago

andriyadi commented 11 years ago

I don't know that's due to my tableview cell setup or not. If I cancel the swipe before achieving any mode, there's white background flickering, as this picture.

ios simulator screen shot sep 24 2013 1 56 47 pm

I can fix it by changing this line on bounceToOrigin method:

[_colorIndicatorView setBackgroundColor:[UIColor clearColor]];

to:

 [_colorIndicatorView setBackgroundColor:self.defaultColor]; //by Andri

Any thought?

alikaragoz commented 11 years ago

Hi @andriyadi thanks for the report, indeed this is quite embarrassing and your suggestion to fix it actually fixes half of the problem. I'll put my head into it soon.