sunbohong / MHDismissModalView

automatically sets the background with a blur effect and you can dismiss all modal views with a gesture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MHDismissModalView

alt tag

Setup

Install MHDismissModalView with a ScrollView

[self.navigationController installMHDismissModalViewWithOptions:[[MHDismissModalViewOptions alloc] initWithScrollView:self.tableView
                                                                                                                theme:MHModalThemeWhite]];

Install MHDismissModalView without a ScrollView

[self.navigationController installMHDismissModalViewWithOptions:[[MHDismissModalViewOptions alloc] initWithScrollView:nil theme:MHModalThemeWhite]];

Global Call for all Modal Views (AppDelegate)

[[MHDismissSharedManager sharedDismissManager]installWithTheme:MHModalThemeWhite];

About

automatically sets the background with a blur effect and you can dismiss all modal views with a gesture

License:MIT License


Languages

Language:Objective-C 98.8%Language:Ruby 1.2%