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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T04:29:56+00:00 2026-06-02T04:29:56+00:00

I need to make some url request when my application goes to background I’m

  • 0

I need to make some url request when my application goes to background

I’m developing with the simulator and I’ve just noticed that when I press the power button to lock the screen the appDelegate method

- (void)applicationDidEnterBackground:(UIApplication *)application

with iOS 5 is automatically called, but this doesn’t happen with iOS 4

is it right? can someone try if on real devices there’s the same result?

is it possible to detect the power button pressure and differentiate the actions from the home button pressure?

thank You!

  • 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-02T04:29:59+00:00Added an answer on June 2, 2026 at 4:29 am

    Yes, this is correct.

    Take a look at the “Adopting Multitasking in Your App” in Apple WWDC 2011 videos.

    You can use beginBackgroundTaskWithExpirationHandler: to do your requests.

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

Sidebar

Related Questions

I'm writing an MVC3 application that will need to make use of URL rewriting
for some business application scenario, we need to make an application (or a background
I need to write application in .NET which will be make some calculations on
I need to make a bash script that takes user input and does some
I need to make an AJAX request to some script from the onSave event
i need to make a page that will have a request dialog for a
i need a tips, how to make a AJAX request with mootools, when some
I've inherited a website developed using Struts 1.2 that I need to make some
I need to make some changes to an old Oracle stored procedure on an
I need to make some recurrent modification in a lot of files (C++). I

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.