diff --git a/Source/DBAlertController.swift b/Source/DBAlertController.swift index 7170522..a042dad 100644 --- a/Source/DBAlertController.swift +++ b/Source/DBAlertController.swift @@ -15,7 +15,7 @@ open class DBAlertController: UIAlertController { let window = UIWindow(frame: UIScreen.main.bounds) window.rootViewController = DBClearViewController() window.backgroundColor = UIColor.clear - window.windowLevel = UIWindowLevelAlert + window.windowLevel = UIWindow.Level.alert return window }()