Support for iOS7+.
- Pop ViewController with pan gesture from middle or edge of screen.
Tips:
The library uses a unpublish api(not private). But it's ok in my experience. My app has been approved.
There is a sister library MLNavigationBarTransition(Advanced navigation bar transition based on official push-pop transition)
My library does not seek any reward, but if you use this library, star it if you like. :)
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(nullable NSDictionary *)launchOption{
[MLTransition validatePanBackWithMLTransitionGestureRecognizerType:MLTransitionGestureRecognizerTypePan];//or MLTransitionGestureRecognizerTypeScreenEdgePan
//...
return YES;
}