# FlutterAppDelegate

Objective-C

    @interface FlutterAppDelegate
        : UIResponder <UIApplicationDelegate, FlutterPluginRegistry,
                       FlutterAppLifeCycleProvider>

Swift

    class FlutterAppDelegate : UIResponder, UIApplicationDelegate, FlutterPluginRegistry, FlutterAppLifeCycleProvider

`UIApplicationDelegate` subclass for simple apps that want default behavior.

This class implements the following behaviors:

- Status bar touches are forwarded to the key window’s root view `FlutterViewController`, in order to trigger scroll to top.
- Keeps the Flutter connection open in debug mode when the phone screen locks.

App delegates for Flutter applications are not required to inherit from this class. Developers of custom app delegate classes should copy and paste code as necessary from FlutterAppDelegate.mm.

- `window`

  Undocumented

  #### Declaration

  Objective-C

      @property(strong, nonatomic) UIWindow* window

  Swift

      var window: UIWindow! { get set }

© 2023 Flutter. All rights reserved. (Last updated: 2023-06-13)

Generated by jazzy ♪♫ v0.14.3, a Realm project.