user511347
user511347

Reputation: 33

How to invoke a crashed app automatically in iPhone/iPad

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

Answers (3)

Warrior
Warrior

Reputation: 39384

Its not possible.

Upvotes: 0

JosephH
JosephH

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

willcodejavaforfood
willcodejavaforfood

Reputation: 44093

That's not possible so design your app NOT to crash instead :)

Upvotes: 1

Related Questions