diff --git a/Example/Example/Base.lproj/MainViewController.storyboard b/Example/Example/Base.lproj/MainViewController.storyboard index 8c80058..32381f2 100644 --- a/Example/Example/Base.lproj/MainViewController.storyboard +++ b/Example/Example/Base.lproj/MainViewController.storyboard @@ -12,7 +12,6 @@ - @@ -78,23 +77,24 @@ - + - + + - + diff --git a/PCLBlurEffectAlert.podspec b/PCLBlurEffectAlert.podspec index 3ffe5fc..8ce232f 100644 --- a/PCLBlurEffectAlert.podspec +++ b/PCLBlurEffectAlert.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "PCLBlurEffectAlert" - s.version = "2.1.0" + s.version = "2.1.1" s.summary = "Custom Swift AlertController." s.homepage = "https://github.com/hryk224/PCLBlurEffectAlert" s.screenshots = "https://raw.githubusercontent.com/wiki/hryk224/PCLBlurEffectAlert/images/sample1.gif" diff --git a/Sources/PCLBlurEffectAlert+Controller.swift b/Sources/PCLBlurEffectAlert+Controller.swift index 7b12067..f64049c 100644 --- a/Sources/PCLBlurEffectAlert+Controller.swift +++ b/Sources/PCLBlurEffectAlert+Controller.swift @@ -100,6 +100,10 @@ extension PCLBlurEffectAlert { return view.tintColor } + open override var prefersStatusBarHidden: Bool { + return presentingViewController?.prefersStatusBarHidden ?? super.prefersStatusBarHidden + } + public convenience init(title: String?, message: String?, effect: UIBlurEffect = UIBlurEffect(style: .extraLight),