eternityz / RWBlurPopover

Show a UIViewController in a popover with background blurred.
MIT License
223 stars 47 forks source link

RWBlurPopover

Show a UIViewController in a popover with background blurred. Introduced in China Air Quality Index.

Demo Video

iOS 7.0+ is required. "Throwing away to dismiss" gesture is inspired by Tweetbot.

NOTE: Release 3.0.0 of RWBlurPopover is incompatible with previous releases.

Installation

Useage

[RWBlurPopover showContentViewController:contentViewController insideViewController:presentingViewController];

OR:

RWBlurPopover *popover = [[RWBlurPopover alloc] initWithContentViewController:nav];
[popover showInViewController:self];
[contentViewController dismissViewControllerAnimated:YES completion:nil];

License

MIT License