MCBlurredModalController icon indicating copy to clipboard operation
MCBlurredModalController copied to clipboard

A sleek way to display your view controller modally.

MCBlurredModalController License MIT

Badge w/ Version Badge w/ Platform

A sleek way to display your view controller modally.

##Screenshot Screenshot

Installation

Add the following to your CocoaPods Podfile

pod 'MCBlurredModalController', '~> 0.1'

or clone as a git submodule,

or just copy files in the MCBlurredModalController folder into your project.

Using MCBlurredModalController

Simply create the modal controller:

MCBlurredModalController *modalController = [[MCBlurredModalController alloc] initWithRootViewController:controller];
modalController.style = MCBlurredStyleLight;
[modalController presentInViewController:self];

You can configure the style with MCBlurredStyleDark, MCBlurredStyleLight or MCBlurredStyleExtraLight.

Dismiss using the -dismiss method on the modal controller:

[self.blurredModalController dismiss];

On the presented controller, blurredModalController is available as a reference to the modal controller.

License

MCBlurredModalController is under the MIT license.