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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:26:05+00:00 2026-05-25T15:26:05+00:00

When registering the UIApplicationDidEnterBackgroundNotification, I notice that this notification is not triggered when the

  • 0

When registering the UIApplicationDidEnterBackgroundNotification, I notice that this notification is not triggered when the device enters in sleep mode.

But, when waking it up, the UIApplicationDidBecomeActiveNotification notification is triggered. It is also triggered when coming back from background mode.

So how can I know if my application comes back from background mode, or is activated following a wake up of the device ?

  • 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-25T15:26:05+00:00Added an answer on May 25, 2026 at 3:26 pm

    Those don’t balance each other; they are posted for unrelated events. I believe you want UIApplicationWillEnterForegroundNotification when detecting your app coming back from the background, and UIApplicationWillResignActiveNotification when detecting certain other situations (including sleep.)

    Note that UIApplicationWillResignActiveNotification also shows for events such as “incoming phone call was ignored” and “the operating system displayed an alert that is not part of your process” (e.g. a text message.)

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

Sidebar

Related Questions

i am trying to ensure that the username is unique when registering but im
In registering for a callback to change with KVO, this works but makes for
When registering an event via addEventListener on an element, then delete that element without
I have a typical form_for for registering user. But in the end I would
When registering .NET assemblies for COM Interop, I do two things, currently in this
I'm registering a preference change listener like this (in the onCreate() of my main
I'm having difficulties registering an example XPCOM component into firefox from this example here:
i have a frustrating problem with registering global hook. I am using this class
I'm not sure if I'm doing something wrong here: I'm registering for Workspace notifications
I am registering a script block on a button click. But when i do

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.