Skip to content

Commit a56016b

Browse files
committed
Merge pull request Sumi-Interactive#28 from reekris/keywindowfix
fix modalview getting closed when dismissing alert [iOS 5]
2 parents b72b7a9 + 80e38fd commit a56016b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

SIAlertView/SIAlertView.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ - (void)dismissAnimated:(BOOL)animated cleanup:(BOOL)cleanup
442442
}
443443
}
444444

445-
[self.oldKeyWindow makeKeyAndVisible];
445+
[self.oldKeyWindow makeKeyWindow];
446+
self.oldKeyWindow.hidden = NO;
446447
}
447448

448449
#pragma mark - Transitions

0 commit comments

Comments
 (0)