switching view controllers using swipe gestures
问题 Okay so here is the problem I'm running into: I am attempting to switch from one viewController that I named MenuViewController which contains my menu (obviously). I have a separate viewController named ViewController that contains my mapView . I would like to be able to double finger swipe left from my MenuViewController over to my mapView . I'm not exactly sure where to start. Also, I am using xib files, and not the storyboard. Running iOS 6. 回答1: UISwipeGestureRecognizer *swipeLeftGesture=