/MHDismissModalView

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

Primary LanguageObjective-CMIT LicenseMIT

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];