Flutter Engine
The Flutter Engine
AppDelegate.m
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#import "AppDelegate.h"
6
7@interface AppDelegate ()
8
9@end
10
11@implementation AppDelegate
12
13- (BOOL)application:(UIApplication*)application
14 didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
15 // Override point for customization after application launch.
16 return YES;
17}
18
19#pragma mark - UISceneSession lifecycle
20
21- (UISceneConfiguration*)application:(UIApplication*)application
22 configurationForConnectingSceneSession:(UISceneSession*)connectingSceneSession
23 options:(UISceneConnectionOptions*)options {
24 // Called when a new scene session is being created.
25 // Use this method to select a configuration to create the new scene with.
26 return [[UISceneConfiguration alloc] initWithName:@"Default Configuration"
27 sessionRole:connectingSceneSession.role];
28}
29
30- (void)application:(UIApplication*)application
31 didDiscardSceneSessions:(NSSet<UISceneSession*>*)sceneSessions {
32 // Called when the user discards a scene session.
33 // If any sessions were discarded while the application was not running, this will be called
34 // shortly after application:didFinishLaunchingWithOptions. Use this method to release any
35 // resources that were specific to the discarded scenes, as they will not return.
36}
37
38@end
int BOOL
Definition: windows_types.h:37