Skip to content

mikefrederick/MFFadeBackModalAnimation

Repository files navigation

#MFFadeBackModalAnimation

MFFadeBackModalAnimation is a UIViewController category that attempts to mimic the "tilt back" modal presentation animation that can be seen in the Gmail app when composing a new message. The category wraps around the native API for presenting and dismissing view controllers, so it should integrate well with existing apps.

=======

 

=======

##Installation

####CocoaPods Add pod 'MFFadeBackModalAnimation' to your Podfile.

####Manually Add the UIViewController+MFFadeBackModalAnimation folder to your project. Add QuartzCore to your project.

##Usage

Presenting a modal view controller:

[self presentViewControllerWithFadebackAnimation:navigationController completion:^{}];

Dismissing a modal view controller:

[self dismissViewControllerWithFadebackAnimationCompletion:^{}];

About

A UIViewController category implementing a modal "fade back" animation similar to the iOS Gmail app's compose functionality

Resources

License

Stars

Watchers

Forks

Packages

No packages published