TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
A UIViewController Category to display a ViewController as a popup with different transition effects.
Written by Martin Juhasz, June 2012.
Just drop the files under Source
into your Xcode project.
Also you need to add the QuartzCore-Framework to your project.
First you have to import the category
#import "UIViewController+MJPopupViewController.h"
then simply use presentPopupViewController:animationType
, f.e.:
[self presentPopupViewController:detailViewController animationType:MJPopupViewAnimationFade];
to dismiss the popup, use dismissPopupViewControllerWithanimationType
[self dismissPopupViewControllerWithanimationType:MJPopupViewAnimationFade];
see the demo for more detailed examples
You can open the MJPopupViewControllerDemo
demo project in Xcode and run it on your iPhone as well as in the Simulator.
Please report issues via GitHub's issue tracker.
This version is made using Automated Reference Counting.