How could I view iphone logging (eg NSLog) after app restart?
I'm interested in the answer both for us开发者_开发技巧ing the (a) simulator and (b) an IOS device.
Background - In this case I have some issues no doubt in my code with how the application is supposed to launch, get previous state, and goto the controller/view it was at prior to it being terminated. Hence I want to see the logging as it starts up.
For seeing device logs, you can use Organizer tool available in XCode(your device should be connected with system).
For simulator you will have to re-run application from XCode.
Thanks,
精彩评论