Skip to content

Commit 4dd4228

Browse files
committed
fix windows hierarchy issue in iOS 5
1 parent 10e5e73 commit 4dd4228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SIAlertView/SIAlertView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ - (void)show
324324
UIWindow *window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
325325
window.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
326326
window.opaque = NO;
327-
window.windowLevel = UIWindowLevelAlert;
327+
window.windowLevel = UIWindowLevelAlert + 1.0;
328328
window.rootViewController = viewController;
329329
self.alertWindow = window;
330330
}

0 commit comments

Comments
 (0)