Search code examples
iphonensapplication

iPhone applicationDidFinishLaunching called once in simulator


I put an NSLog statement inside my applicationDidFinishLaunching method. I build and run and see the log output. Then if I hit the home button (in the simulator) and restart the app, I don't see the log output.

Why?


Solution

  • Because the debugger is no longer attached once you hit the home button.