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

  • Home
  • SEARCH
  • 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

Related Questions

I have an iPhone app that uses a UINavigationController, some table views, and iAd.
We have an app that uses simple one way binding with a GridView to
I have a Cocoa app that uses a WebView to display an HTML interface.
I have a simple app that uses an SQL Express 2005 database. When the
I have a rails app that uses heavily js (over 1MB total). I'd like
My app uses a WebRequest at certain points to get pages from itself. This
Currently my app uses just Direct3D9 for graphics, however in the future I' m
My WinForms app uses a number of BackgroundWorker objects to retrieve information from a
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have created a setup project in VS2008. My WinForms app uses .NET 2.0,

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.