{"id":7851,"date":"2015-10-31T14:34:50","date_gmt":"2015-10-31T14:34:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/31\/how-to-disable-back-swipe-gesture-in-uinavigationcontroller-on-ios-7-open-source-projects-thebird-swipe\/"},"modified":"2015-10-31T14:34:50","modified_gmt":"2015-10-31T14:34:50","slug":"how-to-disable-back-swipe-gesture-in-uinavigationcontroller-on-ios-7-open-source-projects-thebird-swipe","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/31\/how-to-disable-back-swipe-gesture-in-uinavigationcontroller-on-ios-7-open-source-projects-thebird-swipe\/","title":{"rendered":"How to disable back swipe gesture in UINavigationController on iOS 7-open source projects thebird\/Swipe"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/26f977f451a71f4eae77ba9388559531?s=128&amp;d=identicon&amp;r=PG\" \/> <strong>devxoul<\/strong><\/p>\n<p>If you want to manage swipe back feature for specific navigation controllers, consider using SwipeBack.<\/p>\n<p>With this, you can set <code>navigationController.swipeBackEnabled = NO<\/code>.<\/p>\n<p>For example:<\/p>\n<pre><code>#import \n\n- (void)viewWillAppear:(BOOL)animated\n{\n    self.navigationController.swipeBackEnabled = NO;\n}\n<\/code><\/pre>\n<p>It can be installed via CocoaPods.<\/p>\n<pre><code>pod 'SwipeBack', '~&gt; 1.0'\n<\/code><\/pre>\n<p>I appologize for lack of explanation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>devxoul If you want to manage swipe back feature for specific navigation controllers, consider using SwipeBack. With this, you can set navigationController.swipeBackEnabled = NO. For example: #import &#8211; (void)viewWillAppear:(BOOL)animated { self.navigationController.swipeBackEnabled = NO; } It can be installed via CocoaPods. pod &#8216;SwipeBack&#8217;, &#8216;~&gt; 1.0&#8217; I appologize for lack of explanation.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7851","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7851"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7851\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}