This project is inspired by PresentBottom
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];
iOS 8+
YLFPresentationController is available through CocoaPods. To install it, simply add the following line to your Podfile:
target 'Demo' do
pod 'YLFPresentationController'
end
- Blog
ViewController Transition
View Controller 转场
WWDC 2013 Session笔记 - iOS7中的ViewController切换
- Apple
UIViewControllerTransitionCoordinator
UIPresentationController
Creating Custom Presentations
YLFPresentationController is available under the MIT license. See the LICENSE file for more info.