iphone Programming Glossary: didswipe
UIGestureRecognizer and UITableViewCell issue http://stackoverflow.com/questions/4604296/uigesturerecognizer-and-uitableviewcell-issue autorelease UISwipeGestureRecognizer gesture UISwipeGestureRecognizer alloc initWithTarget self action @selector didSwipe gesture.direction UISwipeGestureRecognizerDirectionRight cell.contentView addGestureRecognizer gesture gesture release return.. cell.contentView addGestureRecognizer gesture gesture release return cell However the didSwipe method is always getting called twice on successful swipe. I initially thought this was because the gesture starts and ends.. the gesture starts and ends but if I log out the gestureRecognizer itself they are both in the Ended state void didSwipe UIGestureRecognizer gestureRecognizer NSLog @ did swipe called @ gestureRecognizer Console 2011 01 05 12 57 43.478 App 20752..
|