Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what delegate method that will called when an app close in IOS?

just like my question, I just want to know what delegate method that will called when an app close? I was thought that it was ApplicationWillTerminate, but no, that delegate method just called if the app spend to much memory and no memory left, so the system called that method.

So, what delegate method that will called when an app close?

like image 419
R. Dewi Avatar asked Apr 18 '11 06:04

R. Dewi


People also ask

Which delegate method is called when I click on app icon in background?

application:didReceiveRemoteNotification: is called when your app is in the background.

What is iOS app delegate?

So an app delegate is an object that the application object can use to do certain things like display the first window or view when the app starts up, handle outside notifications or save data when the app goes into the background.

Which application delegate method is the first opportunity to execute any code within an iOS app?

As Apple Documentation states, application:willFinishLaunchingWithOptions:—This method is your app's first chance to execute code at launch time. application:didFinishLaunchingWithOptions:—This method allows you to perform any final initialization before your app is displayed to the user.

When Applicationwillenterforeground is called?

applicationWillResignActive is called when system is asking for permissions. (in iOS 10).


1 Answers

- (void)applicationDidEnterBackground:(UIApplication *)application

like image 109
cweinberger Avatar answered Nov 15 '22 08:11

cweinberger