Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8975557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:54:44+00:00 2026-06-15T18:54:44+00:00

Is it possible to put your app in the background, and have a counter

  • 0

Is it possible to put your app in the background, and have a counter that once expires, wakes up the app and have the app does some action? I know it’s basic, but I just cant seem to have it work. Where do I put this counter + action? Under app did enter background?

Thanks for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:54:46+00:00Added an answer on June 15, 2026 at 6:54 pm

    I don’t think that this works in general:

    You are allowed only to run in the background for specific tasks:

    Apple doc tells which tasks that are:

    One of that tasks is receiving GPS messages.

    As long as you have GPS enabled and your app configured that it uses GPS for background, your app stays alive in the background.
    If you disable GPS some time later it will suspend, and not wake up till the user activates it.

    So to realize your problem you have to stay active in the background (e.g by reading GPS).
    You can start the timer in AppDelegate:applicationDidEnterBackground or similar

    If you need more time to shutdown, you explicitly can request for more time, there is one method for that. I dont know what happens if you request more at regulary intervals

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: I have an app in my Django application that I have never put
I have a C# Application that does some maintenance tasks. It needs to run
Hi guy it's possible put in the application Badge some letter? Something like ON
Possible Duplicate: How do you prompt the user to rate your iphone app without
I have put together a small contacts management app in php for my personal
I can read that changing the app icon programmatically at runtime is not possible,
I have a Rails app that is a blogging platform, allowing for multiple contributing
I have an Android Mobile App that is really just a calendar & you
I just want to know that is it possible in java to use class{
I have a 2 MB file, not too large, that I'd like to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.