简体   繁体   中英

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!

这是不可能的,因此设计您的应用程序时不要使其崩溃:)

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.

这是不可能的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM