Add a 'crash screen'?
I have an alarm app and it should never crash, but in the event that it does (especially in beta testing phase) is there a way to show a crash image? So an image that it goes to if the app crashes (but it stays in the app)? That way if it were worst case scenario and were to crash during the night, they may wake up, see the app's crashed screen an开发者_如何学编程d be saved from sleeping in.
If you use local notifications, and set one when the user sets the alarm, they'll get woken up matter what. If your app hasn't crashed then you can stop the notification from showing and raise the alarm in your own way. But if the app crashes or the user switches app then an alert view will pop up and you can set the sound to be made.
精彩评论