diff --git a/iOS/Plugins/FlipperKitUIDebuggerPlugin/FlipperKitUIDebuggerPlugin/Utilities/UIDSnapshot.m b/iOS/Plugins/FlipperKitUIDebuggerPlugin/FlipperKitUIDebuggerPlugin/Utilities/UIDSnapshot.m index 8a3beab7b25..c2806ebd8b4 100644 --- a/iOS/Plugins/FlipperKitUIDebuggerPlugin/FlipperKitUIDebuggerPlugin/Utilities/UIDSnapshot.m +++ b/iOS/Plugins/FlipperKitUIDebuggerPlugin/FlipperKitUIDebuggerPlugin/Utilities/UIDSnapshot.m @@ -31,8 +31,8 @@ // like in Split View on an iPad, the running application is // not using the entire screen thus the snapshot stretches to // fill the screen size which is incorrect. - if (application.keyWindow) { - size = application.keyWindow.bounds.size; + if (application.delegate.window) { + size = application.delegate.window.bounds.size; } UIGraphicsImageRenderer* renderer =