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 126571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:20:20+00:00 2026-05-11T05:20:20+00:00

My app uses NSTimer and it appears that NSTimer doesn’t fire when the iPhone

  • 0

My app uses NSTimer and it appears that NSTimer doesn’t fire when the iPhone goes into the stand-by mode (either by pressing the hardware button or by the idle timer).

When I activate the iPhone again, my app is still in the foreground. What happens to third party apps when the iPhone is the stand-by mode?

  • 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. 2026-05-11T05:20:20+00:00Added an answer on May 11, 2026 at 5:20 am

    Although it’s not evident here, I believe the original poster did find an answer to his question by starting a thread (available here) in the iPhone Developer Forums (which I eventually had to find myself because the information wasn’t shared here).

    In case someone else has the same question and finds the page in the future, here’s a helpful response that was posted by someone on the Apple forum called ‘eskimo1’ (which I have edited slightly such that it is easier to read without having the context provided by the entire original thread):

    • Regarding iPhone app status terminology, ‘active’ does not mean ‘awake’, it means ‘attached to the GUI’. Think of it being analogous to ‘frontmost’ in Mac OS X. When you lock the device your app deactivates but the device may or may not go to sleep
    • iPhone OS rarely sleeps if the device is connected to main power (i.e., via USB). It can sleep if running on battery, however.
    • A short time after the screen is locked (20 seconds according to Oliver Drobnik), the device sleeps. This is like closing the lid on your laptop; all activity on the main CPU halts.
    • This does not happen if the device is playing audio in the right audio session. See DTS Q&A QA1626 ‘Audio Session – Ensuring audio playback continues when screen is locked’ for details.
    • Note that the idleTimerDisabled property (which can be turned on to prevent the screen from turning off while the app is running) is about locking the screen after user inactivity. It’s not directly related to system sleep (it’s indirectly related in that the system may sleep shortly after it’s locked).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 190k
  • Answers 190k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This question was answered on the MS Silverlight forum by… May 12, 2026 at 5:55 pm
  • Editorial Team
    Editorial Team added an answer You can do it, you just need to make one… May 12, 2026 at 5:55 pm
  • Editorial Team
    Editorial Team added an answer Pros: It's easy-- no app changes required. Better utilizes local… May 12, 2026 at 5:55 pm

Related Questions

My app uses NSTimer and it appears that NSTimer doesn't fire when the iPhone
My app uses a WebRequest at certain points to get pages from itself. This
My App Uses Coredata and Displays Data in a table, one column has a
My app uses a lot of memory. Normally it runs fine, but on a
Currently my app uses just Direct3D9 for graphics, however in the future I' m

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.