We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94960d6 commit 7560925Copy full SHA for 7560925
packages/integration_test/ios/integration_test/Sources/integration_test/IntegrationTestPlugin.m
@@ -79,7 +79,12 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
79
80
- (UIImage *)capturePngScreenshot {
81
// Get all windows in the app
82
+#pragma clang diagnostic push
83
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
84
+ // TODO(jmagman) Use scenes instead of deprecated windows. See
85
+ // https://github.com/flutter/flutter/issues/154365
86
NSArray<UIWindow *> *windows = [UIApplication sharedApplication].windows;
87
+#pragma clang diagnostic pop
88
89
// Find the overall bounding rect for all windows
90
CGRect screenBounds = [UIScreen mainScreen].bounds;
0 commit comments