UISwipeGestureRecognizer *swipe = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(swipeLeft)];
swipe.delaysTouchesBegan = YES;
swipe.direction = UISwipeGestureRecognizerDirectionLeft;
[self.contentView addGestureRecognizer:swipe];
- (void)swipeLeft {
if([self.delegate respondsToSelector:@selector(swipeLeft)]) {
[self.delegate swipeLeft];
}
}