Skip to content

chbo297/CCZoomTransition

Repository files navigation

CCZoomTransition

已废弃,请使用BOTransition:https://github.com/chbo297/BOTransition

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