Repository: flutter
Issue: url_launcher: After returning from launchUrl, there is a gap/whitespace at bottom of Flutter app if the other app opened the keyboard
Labels: a: text input,platform-ios,engine,e: OS-version specific,P2,team-ios,triaged-ios

## Steps to Reproduce

The issue is best shown in the video at the bottom. From my testing, this bug only happens on iOS 13.0

1. Create a flutter app just like the code sample below <!-- (see "Code sample" section below) -->
2. Make sure to add url_launcher to pubspec.yaml
3. Run the app on an iOS simulator running **iOS 13.0**
4. Tap on the test button and wait for webpage to load
5. Press done to return to app

**Expected results:** Flutter app appears as it did before launching url

**Actual results:** There is a whitespace/ gap at the bottom of the app that does not go away until app is fully closed and restarted.

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(
          color: Colors.amber,
          child: Center(
            child: ElevatedButton(
              onPressed: () async =>
                  await launchUrl(Uri.parse('https://pub.dev')),
              child: const Text('test'),
            ),
          ),
        ),
      ),
    );
  }
}
```

</details>
<details>
There is no exception or logs, it is a visual bug.
flutter analyze: No issues found! (ran in 1.4s)

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 3.7.5, on macOS 12.5.1 21G83 darwin-arm64, locale en-GB)
    • Flutter version 3.7.5 on channel stable at /Users/elliott/Documents/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (12 days ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/elliott/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.76.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] VS Code (version 1.71.0)
    • VS Code at /Users/elliott/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (3 available)
    • iPhone 11 Pro (mobile) • C1C6D8ED-879D-4E91-9469-5F79C4A3F781 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.5.1 21G83 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 110.0.5481.177

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>

https://user-images.githubusercontent.com/25271470/223099191-025d4d50-07b6-4f27-b24e-6fb8a7e04a75.mp4


Any help is appreciated, thanks.