/MLTransition

iOS7+, pop ViewController with pan gesture from middle or edge of screen.

Primary LanguageObjective-CMIT LicenseMIT

MLTransition

Apps Using Downloads

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. :)

MLTransition

Usage

- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(nullable NSDictionary *)launchOption{
[MLTransition validatePanBackWithMLTransitionGestureRecognizerType:MLTransitionGestureRecognizerTypePan];//or MLTransitionGestureRecognizerTypeScreenEdgePan
//...
return YES;
}