Why is the "20% battery" message box crashing my app? [closed]
I work on a ipod apps, and when I run it on a real device, my apps crash when the msgbox 20$% battery left. How I can fix that? I think this msgbox stop one of my thread(a timer), is it possible?
Does the same thing happen when the device receives a phone call, SMS, or push notification? If so, it's probably something in your app delegate’s -application:willResignActive:
method. Check your code in there, or—better yet—update your question to include that code.
精彩评论