Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

License

Notifications You must be signed in to change notification settings

VuframeLab/MJPopupViewController

Open more actions menu
 
 

Repository files navigation

MJPopupViewController

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

Written by Martin Juhasz, June 2012.

Extended by Andreas Zeitler, December 2012.

  • added better integration methods
  • added MJPopupViewController to derive popped-up controllers from (to support callbacks)

Installation

Just drop the files under Source into your Xcode project. Also you need to add the QuartzCore-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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.4%
  • Ruby 1.6%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.