Skip to content

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

License

Notifications You must be signed in to change notification settings

molon/MLTransition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f3135b8 · Apr 12, 2024

History

62 Commits
Jun 26, 2017
Feb 23, 2017
Mar 18, 2016
Jul 25, 2014
Jun 30, 2015
Jul 15, 2017
Apr 12, 2024

Repository files navigation

MLTransition

Apps Using Downloads

Support for iOS7+.

  • Pop ViewController with pan gesture from middle or edge of screen.

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

Disclaimer

  1. This library uses unpublished api (non-private), please use it at your own risk, unpublished APIs do not have official compatibility commitments from iOS.
  2. My application has been approved. It is possible that the AppStore will only prohibit the listing of applications that use private APIs and will not strictly treat unpublished APIs, but this is just my guess.

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published