b2cloud

19th September 2013

Disabling ‘slide from left’ back button in iOS7

Guides | Tutorial By 3 years ago

In iOS7, if a user wants to go back a page they can now choose between using the old back button or a newly introduced method by dragging from the left side of the screen. However this may not suit every developer’s app, and there’s a pretty easy way to disable it.

Whenever you setup your UINavigationController, simply get it’s interactivePopGestureRecognizer and disable it, as so:

[navigationController.interactivePopGestureRecognizer setEnabled:NO];
Recommended Posts

Yammer integrations in ReactJS

Post by 3 years ago

I am writing this blog while I am working on a project for our client’s intranet website. The client requires the website has the ability to share, like and write comments in the website through

Got an idea?

We help entrepreneurs, organizations and established brands from around
the country bring ideas to life. We would love to hear from you!