I have a subclass of UIView
, and added the touchesBegan
and touchesEnd
methods...
In touchesBegan
, I set the backgroundColor
from white to green by using self.backgroundColor = [UIColor greenColor]
... in the touchesEnd
I reset the color to white.
It works but very slowly. By tapping the view, it takes 0.5 - 1.0 sec until I see the green color.
Selecting a cell in a UITableView
it's much faster.