# FlutterAppLifeCycleProvider

Objective-C

    @protocol FlutterAppLifeCycleProvider <UNUserNotificationCenterDelegate>

Swift

    protocol FlutterAppLifeCycleProvider : UNUserNotificationCenterDelegate

Implement this in the `UIAppDelegate` of your app to enable Flutter plugins to register themselves to the application life cycle events.

For plugins to receive events from `UNUserNotificationCenter`, register this as the `UNUserNotificationCenterDelegate`.

- `-addApplicationLifeCycleDelegate:`

  Called when registering a new `FlutterApplicaitonLifeCycleDelegate`.

  See also: `-[FlutterAppDelegate addApplicationLifeCycleDelegate:]`

  #### Declaration

  Objective-C

      - (void)addApplicationLifeCycleDelegate:
          (nonnull NSObject<FlutterApplicationLifeCycleDelegate> *)delegate;

  Swift

      func add(_ delegate: FlutterApplicationLifeCycleDelegate)

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

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