SkillAgentSearch skills...

MCBlurredModalController

A sleek way to display your view controller modally.

Install / Use

/learn @matthewcheok/MCBlurredModalController
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars59
CategoryDevelopment
Updated1y ago
Forks2

Languages

Objective-C

Security Score

80/100

Audited on Aug 21, 2024

No findings