diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 22c817f0ce..ed4dedf1eb 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2019-2025, Arm Limited and Contributors +# Copyright (c) 2019-2026, Arm Limited and Contributors # # SPDX-License-Identifier: Apache-2.0 # @@ -49,6 +49,8 @@ elseif(IOS) ${CMAKE_CURRENT_SOURCE_DIR}/ios/main.mm ${CMAKE_CURRENT_SOURCE_DIR}/ios/AppDelegate.h ${CMAKE_CURRENT_SOURCE_DIR}/ios/AppDelegate.m + ${CMAKE_CURRENT_SOURCE_DIR}/ios/SceneDelegate.h + ${CMAKE_CURRENT_SOURCE_DIR}/ios/SceneDelegate.m ${CMAKE_CURRENT_SOURCE_DIR}/ios/ViewController.h ${CMAKE_CURRENT_SOURCE_DIR}/ios/ViewController.mm ) diff --git a/app/ios/AppDelegate.h b/app/ios/AppDelegate.h index a4724124a9..04d83a61b6 100644 --- a/app/ios/AppDelegate.h +++ b/app/ios/AppDelegate.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2024, Holochip Inc. +/* Copyright (c) 2024-2026, Holochip Inc. * * SPDX-License-Identifier: Apache-2.0 * @@ -25,7 +25,6 @@ #if TARGET_OS_IOS @interface AppDelegate : UIResponder -@property (strong, nonatomic) UIWindow *window; #else @interface AppDelegate : NSResponder diff --git a/app/ios/AppDelegate.m b/app/ios/AppDelegate.m index 5e4c4f81e6..a63fa0fb79 100644 --- a/app/ios/AppDelegate.m +++ b/app/ios/AppDelegate.m @@ -1,4 +1,4 @@ -/* Copyright (c) 2024, Holochip Inc. +/* Copyright (c) 2024-2026, Holochip Inc. * * SPDX-License-Identifier: Apache-2.0 * @@ -29,27 +29,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( return YES; } - -- (void)applicationWillResignActive:(UIApplication *)application { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. -} - - -- (void)applicationDidEnterBackground:(UIApplication *)application { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. +- (void)applicationWillTerminate:(UIApplication *)application { + // Called when the application is about to terminate. Save data if appropriate. } - -- (void)applicationWillEnterForeground:(UIApplication *)application { - // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. -} - - -- (void)applicationDidBecomeActive:(UIApplication *)application { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. -} - - @end #endif diff --git a/app/ios/Info.plist b/app/ios/Info.plist index 542bd4d5b9..d64d93c489 100644 --- a/app/ios/Info.plist +++ b/app/ios/Info.plist @@ -1,6 +1,6 @@