All Projects → chbo297 → Cczoomtransition

chbo297 / Cczoomtransition

Licence: mit
Zoom transition effect for IOS viewController present

Programming Languages

swift
15916 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].