Here is a ViewControllerA
push a ViewControllerB
, and in the ViewControllerB
the leftBarButtonItem
is set as following:
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Back" style:UIBarButtonItemStylePlain target:self action:@selector(backBtnClicked:)];
After setting the leftBarButtonItem
, the Back swipe gesture is not work. Is it possible to keep the swipe gesture?