I am creating dynamic labels in scroll view and I want to add single gesture recognizer to all these dynamically generated labels. I am creating gesture as following
UIPanGestureRecognizer *gesture = [[UIPanGestureRecognizer alloc]
initWithTarget:self
action:@selector(handlePan:)] ;
Now I want to add this gesture to multiple labels. Is it possible to add same gesture to dynamically created labels ?