Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A UIViewController Category to display a ViewController as a popup with different transition effects.
branch: master

This branch is 31 commits behind martinjuhasz:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
MJPopupViewControllerDemo
Source
assets
LICENSE.txt
README.md

README.md

MJPopupViewController

A UIViewController Category to display a ViewController as a popup with different transition effects.

Written by Martin Juhasz, June 2012.

Installation

Just drop the files under Source into your Xcode project. Also you need to add the QuarzCore-Framework to your project.

Usage

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

Demo

You can open the MJPopupViewControllerDemo demo project in XCode and run it on your iPhone as well as in the Simulator.

Issues and Feature Requests

Please report issues via GitHub's issue tracker.

ARC

This version is made using Automated Reference Counting.

TODO

  • Rotation Support
  • More animation types
  • support different background types
Something went wrong with that request. Please try again.