UPDATED! Check after the photo.
All,
I was playing with an iPhone application today (Photovine) and noticed a feature that I would LOVE to include in my application. I was adding a photo to the application when the application crahed. No big deal I thought, I’ll just reopen it. When I reopened it, BAM, a UIAlertView popped up with a small text box that asked me “What were you doing when the app crashed?”
I thought this was an AWESOME feature, but in my 10 second search before posting a question I couldn’t find how to implement it.
Does anyone know how to do this?

**EDIT: For anyone that tries this, remember to sync your NSUserDefaults to make it work correctly. The NSUserDefaults method works perfectly if you synchronize it after writing it to YES. Just call [NSUserDefaults synchronize]; and you’ll be golden.
Without code – but the main idea:
Now, when you start the application, you check if this property is set to YES or NO to indicate a crash.