5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERSCENELIFECYCLE_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERSCENELIFECYCLE_H_
8 #import <UIKit/UIKit.h>
35 #pragma mark - Connecting and disconnecting the scene
45 - (BOOL)scene:(UIScene*)scene
46 willConnectToSession:(UISceneSession*)session
47 options:(nullable UISceneConnectionOptions*)connectionOptions;
49 - (void)sceneDidDisconnect:(UIScene*)scene;
51 #pragma mark - Transitioning to the foreground
53 - (void)sceneWillEnterForeground:(UIScene*)scene;
55 - (void)sceneDidBecomeActive:(UIScene*)scene;
57 #pragma mark - Transitioning to the background
59 - (void)sceneWillResignActive:(UIScene*)scene;
61 - (void)sceneDidEnterBackground:(UIScene*)scene;
63 #pragma mark - Opening URLs
72 - (BOOL)scene:(UIScene*)scene openURLContexts:(NSSet<UIOpenURLContext*>*)URLContexts;
74 #pragma mark - Continuing user activities
83 - (BOOL)scene:(UIScene*)scene continueUserActivity:(NSUserActivity*)userActivity;
85 #pragma mark - Performing tasks
95 - (BOOL)windowScene:(UIWindowScene*)windowScene
96 performActionForShortcutItem:(UIApplicationShortcutItem*)shortcutItem
97 completionHandler:(
void (^)(BOOL succeeded))completionHandler;
128 - (BOOL)registerSceneLifeCycleWithFlutterEngine:(
FlutterEngine*)engine;
137 - (BOOL)unregisterSceneLifeCycleWithFlutterEngine:(
FlutterEngine*)engine;
151 #pragma mark - Connecting and disconnecting the scene
157 - (void)scene:(UIScene*)scene
158 willConnectToSession:(UISceneSession*)session
159 options:(UISceneConnectionOptions*)connectionOptions;
161 - (void)sceneDidDisconnect:(UIScene*)scene;
163 #pragma mark - Transitioning to the foreground
165 - (void)sceneWillEnterForeground:(UIScene*)scene;
167 - (void)sceneDidBecomeActive:(UIScene*)scene;
169 #pragma mark - Transitioning to the background
171 - (void)sceneWillResignActive:(UIScene*)scene;
173 - (void)sceneDidEnterBackground:(UIScene*)scene;
175 #pragma mark - Opening URLs
181 - (void)scene:(UIScene*)scene openURLContexts:(NSSet<UIOpenURLContext*>*)URLContexts;
183 #pragma mark - Continuing user activities
189 - (void)scene:(UIScene*)scene continueUserActivity:(NSUserActivity*)userActivity;
191 #pragma mark - Performing tasks
197 - (void)windowScene:(UIWindowScene*)windowScene
198 performActionForShortcutItem:(UIApplicationShortcutItem*)shortcutItem
199 completionHandler:(
void (^)(BOOL succeeded))completionHandler;
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
#define FLUTTER_DARWIN_EXPORT
UITextSmartQuotesType smartQuotesType API_AVAILABLE(ios(11.0))
FlutterPluginSceneLifeCycleDelegate * sceneLifeCycleDelegate