YLFPresentationController
This project is inspired by PresentBottom
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
UIViewController *controller = [[UIViewController alloc] init];
YLFTransitioningManager *transitioningManager = [[YLFTransitioningManager alloc] initWithViewController:controller];
[self presentViewController:controller animated:YES completion:nil];
Requirements
iOS 8+
Installation
YLFPresentationController is available through CocoaPods. To install it, simply add the following line to your Podfile:
target 'Demo' do
pod 'YLFPresentationController'
end
TODO
- support custom transition
Reference
- Blog
ViewController Transition
View Controller 转场
WWDC 2013 Session笔记 - iOS7中的ViewController切换
- Apple
UIViewControllerTransitionCoordinator
UIPresentationController
Creating Custom Presentations
License
YLFPresentationController is available under the MIT license. See the LICENSE file for more info.