molon / MLTransition

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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;
}

About

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

License:MIT License


Languages

Language:Objective-C 97.8%Language:Ruby 2.2%