I have added two swipe gesture recognizers (swipe left and swipe right) to my UITableView. After that my table view has stopped scrolling. At the same time -(void)didSelectRowAtIndex works fine.
What might be the problem?
All I did is drag-and-dropped Swipe Gesture Recognizers from objects library onto my UITableView.
If I remove them, my table starts to scroll again.
UPD:
This happens after upgrading to Xcode 4.5. There is no such problem in older versions of Xcode.
To avoid this behaviour – add UIGestureRecognizers programatically, not in IB.
just try bellow code may this help you….
write bellow code in
viewDidLoad:methodif here tableview is subview of UIView class then use above code otherwise just try “youtTableview” insted of “yourView”
i hope this help you…
🙂