Tuesday, April 5, 2016

iOS : Swipe Back Not Working

Posted by with No comments

There is no swipe back when hiding Navigation Bar in UINavigationController

This problem occurs even if you set Shows Navigation Bar unchecked or

[self.navigationController setNavigationBarHidden:YES animated:NO];
programmatically.

The Solution:

I suppose my UINavigationController is self.navigationController

[self.navigationController.interactivePopGestureRecognizer setDelegate:nil];