Why is the "20% battery" message box crashing my app? [closed] - iphone

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
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.

Related

iOS check programmatically if call forwarding is active or not [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want a button to be enabled in my app only when call forwarding is active in the device, but am not able to find any solution on the net. Is there any way we can check from an app if call forwarding is active or not?
Nope. That's all locked down by Apple. If there is a way to detect it, it's only through a private API, which will cause your app to be rejected from the App Store if you use it.

Is it possible to postpone the delivery of a post on a wall? (using Facebook IOS SDK) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I will click 'post' and then I will close the app, but I want the post to be delivered after 1hour. Is it possible or How can I do this?
Thanks in advance
It is not possible. You can request up to 10 minutes of background execution time, but that's it. The only way to do something after an hour is display a local notification that prompts your user to re-open the app. You can't force them to do it though.

how to show the single button in uilocalnotification [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Iam developing one application.In that i need to show the local notification with single button.So pease tell me how to show single button in notification.
Since iOS 5 the default setting is to use the Notification center, thus there is no more dialog with buttons any more.
Also you should not force a user to do something, thats bad design.

Launch application in background [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is that possible to run/launch application in background. I mean not making visible it to user?
For example by receiving local/push notification, even if user doesn't open(brings to foreground) an application, somehow open it in background, "hidden" for user?
Regards.
Short answer no, you can run programs in background on the iPhone like: audio players, navigation or voip clients.
Also if you app does not come to the forenground there is no way to receive any notifications(local or push).
The only applications that are allowed to do this are Newsstand applications in iOS 5.

Am I able to schedule something when my iPhone app is closed? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Same as the above question.
Probably the only way would be to send the work off to a server to do the work, and have that server send a Push message to the phone when it's complete. That would notify the user that the task has been completed, so they could then reopen the app and continue. But running something locally on the phone while the app is closed isn't allowed by the API.
If you're referring to background processes, the answer is currently no. This is a controversial issue with iPhone app dev at the moment as there is no way to perform background processing (afaik).