Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.16 KB

README.md

File metadata and controls

51 lines (33 loc) · 2.16 KB

YLFPresentationController

CI Status Version License Platform

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

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.