diff --git a/src/plugins/platforms/ios/qiosviewcontroller.mm b/src/plugins/platforms/ios/qiosviewcontroller.mm index 64d42d6b65..40beda6f5f 100644 --- a/src/plugins/platforms/ios/qiosviewcontroller.mm +++ b/src/plugins/platforms/ios/qiosviewcontroller.mm @@ -151,8 +151,8 @@ // to mirror mode, but defer it until after the view has been removed, // to ensure that we don't try to layout the view that's being removed. dispatch_async(dispatch_get_main_queue(), ^{ - uiWindow.screen = [UIScreen mainScreen]; uiWindow.hidden = YES; + uiWindow.screen = [UIScreen mainScreen]; }); } }