Skip to content

Zoom transition effect for IOS viewController present

License

Notifications You must be signed in to change notification settings

augmify/CCZoomTransition

 
 

Repository files navigation

CCZoomTransition

Build Status Version License Platform

'CCZoomTransition' is zoom transition for IOS ViewController.   Only requires one line of code  

ViewController present的转场特效,只需要一行代码,就可以的到一个类似于系统打开APP的present特效啦。  

pictap  

panGesture swipBack:
picpan

#Getting Started

##In Swift


let viewController = UIViewController()
viewController.cc_setZoomTransition(originalView: targetView)
self.present(viewController, animated: true, completion: nil)

##In Objective-C


#import "ProductModuleName-Swift.h"

UIViewController *viewController = [UIViewController new];
[viewController cc_setZoomTransitionWithOriginalView:targetView];
[self presentViewController:viewController animated:YES completion:nil];

######The "targetView" is view which tap in presentingView, or whose you wish being zoom.

About

Zoom transition effect for IOS viewController present

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 98.1%
  • Ruby 1.9%