Reputation: 33
Is it possible to invoke an app automatically when it encounters a crash in iPhone/iPad? If so, any pointers will certainly help. Thanks!
Upvotes: 0
Views: 161
Reputation: 37505
I've not tried this, but there's a reasonable chance you can run code when the app crashes by installing signal handlers in the standard C way for SIGABRT, SIGSEGV, etc.
However I have no idea how you'd make your app relaunch.
As others have said, the best approach is to stop your app crashing - that's what everyone else does.
Upvotes: 0
Reputation: 44093
That's not possible so design your app NOT to crash instead :)
Upvotes: 1