{"action":"created","issue":{"url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/135","labels_url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/135/comments","events_url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/135/events","html_url":"https://github.com/SocialObjects-Software/AMSlideMenu/issues/135","id":56768964,"number":135,"title":"How to cancel the panGesture when have pushed into a viewcontroller? ","user":{"login":"seanLee","id":9602563,"avatar_url":"https://avatars.githubusercontent.com/u/9602563?v=3","gravatar_id":"","url":"https://api.github.com/users/seanLee","html_url":"https://github.com/seanLee","followers_url":"https://api.github.com/users/seanLee/followers","following_url":"https://api.github.com/users/seanLee/following{/other_user}","gists_url":"https://api.github.com/users/seanLee/gists{/gist_id}","starred_url":"https://api.github.com/users/seanLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanLee/subscriptions","organizations_url":"https://api.github.com/users/seanLee/orgs","repos_url":"https://api.github.com/users/seanLee/repos","events_url":"https://api.github.com/users/seanLee/events{/privacy}","received_events_url":"https://api.github.com/users/seanLee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T04:27:48Z","updated_at":"2015-02-06T06:28:12Z","closed_at":null,"body":"I use ````[self.navigationController pushViewController:view animated:YES]```` to push a new ViewController.But it can accept the panGesture of the slideMenu.\r\n\r\nwhen I use ````UINavigationController *navi = [[UINavigationController alloc] initWithRootViewController:advc];\r\n    [self presentViewController:navi animated:YES completion:nil];````It can't be paned to slidemenu.\r\n\r\nMy question is how can I cancel the panGesture if I want use ````[self.navigationController pushViewController:view animated:YES]````"},"comment":{"url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/comments/73188699","html_url":"https://github.com/SocialObjects-Software/AMSlideMenu/issues/135#issuecomment-73188699","issue_url":"https://api.github.com/repos/SocialObjects-Software/AMSlideMenu/issues/135","id":73188699,"user":{"login":"arturdev","id":6263856,"avatar_url":"https://avatars.githubusercontent.com/u/6263856?v=3","gravatar_id":"","url":"https://api.github.com/users/arturdev","html_url":"https://github.com/arturdev","followers_url":"https://api.github.com/users/arturdev/followers","following_url":"https://api.github.com/users/arturdev/following{/other_user}","gists_url":"https://api.github.com/users/arturdev/gists{/gist_id}","starred_url":"https://api.github.com/users/arturdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturdev/subscriptions","organizations_url":"https://api.github.com/users/arturdev/orgs","repos_url":"https://api.github.com/users/arturdev/repos","events_url":"https://api.github.com/users/arturdev/events{/privacy}","received_events_url":"https://api.github.com/users/arturdev/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T06:28:12Z","updated_at":"2015-02-06T06:28:12Z","body":"You must import `UIViewController+AMSlideMenu.h` category and use following methods in `viewWillAppear:` method\r\n```Obj-C\r\n- (void)disableSlidePanGestureForLeftMenu;\r\n- (void)disableSlidePanGestureForRightMenu;\r\n- (void)enableSlidePanGestureForLeftMenu;\r\n- (void)enableSlidePanGestureForRightMenu;\r\n```"}}