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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:58:05+00:00 2026-05-13T16:58:05+00:00

My question is quite simple (I think and hope). I would like to know

  • 0

My question is quite simple (I think and hope). I would like to know what happens when I lock my phone.
I made a little clock-like app which should play and loop a sound at a given moment (lets say 18:00). But when I press the power button, and the phone locks, nothing happens at 18:00. When I press the power button again 18:05 and the “lock screen” shows, then the sound is played.

Please note, I didn’t return to the home screen before locking the phone. The app is still open, when I unlock the app is shown.
Is there some way to let the app still do its thing eventhough I locked the screen? Or is this just a programming error I might have made?

Regards,
Paul Peelen

  • 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-05-13T16:58:05+00:00Added an answer on May 13, 2026 at 4:58 pm

    You should take a look at information about the application delegate’s applicationWillResignActive: and applicationDidBecomeActive: methods. You can find this information in the iPhone Application Programming Guide. Also, take a look at information about “The Automatic Sleep Timer” in the same guide.

    http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html#//apple_ref/doc/uid/TP40007072-CH7-SW59

    I think you can answer most of your own questions with this information but please post any follow up questions that you might have.

    Bart

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

Sidebar

Related Questions

My question is I think quite simple but I don't think the answer will
here is a quite simple question(I think), is there a STL library method that
I hope this is quite a simple question.. I've got a compiled .exe program
I have really simple and lame question (i hope it's simple). I'm quite new
Using Rails 3.1.1. & 'rails3-jquery-autocomplete' I think this question should be quite simple for
I think my question is quite simple, but I can't find a solution. I
I have what I think is probably quite a simple question to answer (for
I have quite a simple question I think, but I need a definitive answer.
My question is quite simple.. I need to convert an Element object into an
My question is quite simple. Is it possible to inactivate all toasts of an

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.