UIAlertController-MZStyle
is a category on UIAlertController
with possibility of customization.
Not work with ActionSheets on iPad.
MZFormSheetPresentationController requires either iOS 8.x and above.
// Tell UIAlertController that you will use custom style
[UIAlertController mz_applyCustomStyleForAlertControllerClass:[UIAlertController class]];
// Apply Global style
MZAlertControllerStyle *defaultStyle = [UIAlertController mz_sharedStyle];
defaultStyle.blurEffectStyle = UIBlurEffectStyleDark;
defaultStyle.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.1];
// And thats it...