Situation is like this
I have a UIImageView say imvObj in a UIView say vwObj and this whole setup is inside a UITableViewCell. I have added UIPanGestureRecognizer on vwObj . This thing is working very good on iOS < 5.0.
Please help.
EDIT
UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(someOtherMethod:)];
[panGesture setDelegate:self];
[panGesture setMaximumNumberOfTouches:1];
[vwObj addGestureRecognizer:panGesture];
[panGesture release];
Solution
just removed following line and issue was solved
[panGesture setDelegate:self];
Finally got the solution.
I was doing one wrong thing, I was setting delegate of gesture after setting its target to self. So following line caused this issue in
iOS5Once i removed it the problem was solved.