当应用程序在iPhone上崩溃时如何发送电子邮件? [英] How to send email when an app crashes on the iphone?

查看:85
本文介绍了当应用程序在iPhone上崩溃时如何发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我前几天使用的应用程序崩溃了,但是当它崩溃时还要求发送一封包含崩溃信息的电子邮件。

I was using an app the other day that crashed, but as it crashed also asked to send an email with the crash info.

有谁知道这是怎么回事完成了吗?

Does anyone know how this is done?

也许它是代码中的异常处理程序,它让应用程序死掉,发送了电子邮件,但只是想知道是否有任何onCrash类型的挂钩iphone sdk。

Perhaps it was an exception handler in the code that before it lets the app die, sent the email, but just wondering if there are any onCrash type hooks in the iphone sdk.

谢谢,
Chris

Thanks, Chris

推荐答案

PLCrashReporter 尝试提供一个框架来完成此操作。我自己没有使用它,但考虑到它。

PLCrashReporter attempts to provide a framework to do exactly this. Not used it myself yet but considering it.

这篇关于当应用程序在iPhone上崩溃时如何发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆