We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d5c02 commit 5cc1152Copy full SHA for 5cc1152
1 file changed
FEAlertController/FEAlertController.m
@@ -273,7 +273,15 @@ -(void)dismiss{
273
274
275
if (FEAlertiOS8Later) {
276
- [self dismissViewControllerAnimated:YES completion:nil];
+ [self dismissViewControllerAnimated:YES completion:^{
277
+ // if has alertWindow
278
+ if (self.alertWindow) {
279
+ [self.alertWindow resignKeyWindow];
280
+ self.alertWindow = nil;
281
+
282
+ [self.fromWindow makeKeyAndVisible];
283
+ }
284
+ }];
285
}else{
286
// iOS7
287
// animation background
0 commit comments