| Flutter iOS Embedder |

Instance Methods | Properties | List of all members
FlutterPluginAppLifeCycleDelegate() Category Reference

`#import <FlutterPluginAppLifeCycleDelegate_internal.h>`

## Instance Methods
(void) | - handleDidEnterBackground:
(void) | - handleWillEnterForeground:
(void) | - handleWillResignActive:
(void) | - handleDidBecomeActive:
(void) | - handleWillTerminate:
(BOOL) | - isSelectorAddedDynamically:
(BOOL) | - hasPluginThatRespondsToSelector:
(void) | - sceneFallbackDidFinishLaunchingApplication:
(void) | - sceneFallbackWillFinishLaunchingApplication:
(BOOL) | - sceneWillConnectFallback:
(void) | - sceneWillEnterForegroundFallback
(void) | - sceneDidBecomeActiveFallback
(void) | - sceneWillResignActiveFallback
(void) | - sceneDidEnterBackgroundFallback
(BOOL) | - sceneFallbackOpenURLContexts:
(BOOL) | - sceneFallbackContinueUserActivity:
(BOOL) | - sceneFallbackPerformActionForShortcutItem:completionHandler:

## Properties
BOOL | didForwardApplicationWillLaunch
BOOL | didForwardApplicationDidLaunch

## Detailed Description

Definition at line 22 of file FlutterPluginAppLifeCycleDelegate.mm.

## Method Documentation

## ◆ handleDidBecomeActive:

- (void) handleDidBecomeActive: |  | ("Disallowed in app extensions") | NS_EXTENSION_UNAVAILABLE_IOS |

## ◆ handleDidEnterBackground:

- (void) handleDidEnterBackground: |  | ("Disallowed in app extensions") | NS_EXTENSION_UNAVAILABLE_IOS |

## ◆ handleWillEnterForeground:

- (void) handleWillEnterForeground: |  | ("Disallowed in app extensions") | NS_EXTENSION_UNAVAILABLE_IOS |

## ◆ handleWillResignActive:

- (void) handleWillResignActive: |  | ("Disallowed in app extensions") | NS_EXTENSION_UNAVAILABLE_IOS |

## ◆ handleWillTerminate:

- (void) handleWillTerminate: |  | ("Disallowed in app extensions") | NS_EXTENSION_UNAVAILABLE_IOS |

## ◆ hasPluginThatRespondsToSelector:

- (BOOL) hasPluginThatRespondsToSelector: |  | (SEL) | selector |

Check whether there is at least one plugin responds to the selector.

## ◆ isSelectorAddedDynamically:

- (BOOL) isSelectorAddedDynamically: |  | (SEL) | selector |

Check whether the selector should be handled dynamically.

## ◆ sceneDidBecomeActiveFallback

- (void) sceneDidBecomeActiveFallback |  |  |

Forwards the application equivalent lifecycle event of `sceneDidBecomeActive:` -> `applicationDidBecomeActive:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneDidEnterBackgroundFallback

- (void) sceneDidEnterBackgroundFallback |  |  |

Forwards the application equivalent lifecycle event of `sceneDidEnterBackground:` -> `applicationDidEnterBackground:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneFallbackContinueUserActivity:

- (BOOL) sceneFallbackContinueUserActivity: |  | (NSUserActivity *) | userActivity |

Forwards the application equivalent lifecycle event of `scene:continueUserActivity:` -> `application:continueUserActivity:restorationHandler:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneFallbackDidFinishLaunchingApplication:

- (void) sceneFallbackDidFinishLaunchingApplication: |  | (UIApplication *) | application |

Forwards the `application:didFinishLaunchingWithOptions:` lifecycle event to plugins if they have not received it yet. This compensates for the UIScene migration, which causes storyboards (and thus the plugin registration via `FlutterImplicitEngineDelegate`) to be instantiated after the application launch events.

## ◆ sceneFallbackOpenURLContexts:

- (BOOL) sceneFallbackOpenURLContexts: |  | (NSSet< UIOpenURLContext * > *) | URLContexts |

Forwards the application equivalent lifecycle event of `scene:openURLContexts:` -> `application:openURL:options:completionHandler:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneFallbackPerformActionForShortcutItem:completionHandler:

- (BOOL) sceneFallbackPerformActionForShortcutItem: |  | (UIApplicationShortcutItem *) | shortcutItem
completionHandler: |  | (void(^)(BOOL succeeded)) | completionHandler

Forwards the application equivalent lifecycle event of `windowScene:performActionForShortcutItem:completionHandler:` -> `application:performActionForShortcutItem:completionHandler:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneFallbackWillFinishLaunchingApplication:

- (void) sceneFallbackWillFinishLaunchingApplication: |  | (UIApplication *) | application |

Forwards the `application:willFinishLaunchingWithOptions:` lifecycle event to plugins if they have not received it yet. This compensates for the UIScene migration, which causes storyboards (and thus the plugin registration via `FlutterImplicitEngineDelegate`) to be instantiated after the application launch events.

## ◆ sceneWillConnectFallback:

- (BOOL) sceneWillConnectFallback: |  | (UISceneConnectionOptions *) | connectionOptions |

Forwards the application equivalent lifecycle event of `scene:willConnectToSession:options:` -> `application:didFinishLaunchingWithOptions:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneWillEnterForegroundFallback

- (void) sceneWillEnterForegroundFallback |  |  |

Forwards the application equivalent lifecycle event of `sceneWillEnterForeground:` -> `applicationWillEnterForeground:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## ◆ sceneWillResignActiveFallback

- (void) sceneWillResignActiveFallback |  |  |

Forwards the application equivalent lifecycle event of `sceneWillResignActive:` -> `applicationWillResignActive:` to plugins that have not adopted the FlutterSceneLifeCycleDelegate protocol.

## Property Documentation

## ◆ didForwardApplicationDidLaunch

- (BOOL) didForwardApplicationDidLaunch
| read write nonatomic assign

Definition at line 35 of file FlutterPluginAppLifeCycleDelegate.mm.

## ◆ didForwardApplicationWillLaunch

- (BOOL) didForwardApplicationWillLaunch
| read write nonatomic assign

Definition at line 34 of file FlutterPluginAppLifeCycleDelegate.mm.

The documentation for this category was generated from the following files:

- shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate.mm
- shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegate_internal.h