Zoom transition effect for IOS viewController present
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CCZoomTransition
CCZoomTransitionDemo
.gitignore
.travis.yml
CCZoomTransition.podspec
LICENSE
README.md

README.md

CCZoomTransition

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.