Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ping a url when IOS application crashes?

I want to ping a url on my website whenever my IOS application crashes. Where is the best place to put an exception catcher that can quickly ping an external url and then rethrow the exception to the OS?

like image 624
MikeN Avatar asked Apr 23 '11 01:04

MikeN


2 Answers

Check out http://chaosinmotion.com/blog/?p=423

like image 29
DavidN Avatar answered Nov 15 '22 23:11

DavidN


We're using CrashKit on one of our iPad apps to collect the crash log at the moment of a crash and send it to our server for analysis. Of course you could instead ping a URL or do whatever you want to add in the signal/exception handling routine.

The library is very easy to integrate, I suggest you have a look at it.

like image 112
Julio Gorgé Avatar answered Nov 15 '22 23:11

Julio Gorgé