iPhone : killing the process from multitasking
Why debugger didn't launch to - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions
when I launch the App after killing my app process from multitasking ? "killing app process from multitasking" mean to make double click开发者_开发百科 on "Home" button, after that, at the bottom of iPhone menu with active apps will be shown, and than I delete my app there. thanks...
If you launch your app from the iPhone screen (pressing its icon) after you have killed it, the debugger is not attached to it any more, hence it will not launch. You need to trigger the application from XCode again.
If the app's getting killed, regardless of from where, - (void)applicationWillTerminate:(UIApplication *)application
will get called. application:didFinishLaunchingWithOptions:
only gets called when the app launches, not when it quits…hence the names.
精彩评论