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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:22:36+00:00 2026-05-27T06:22:36+00:00

I have a state-transition problem with NSTimer, of which I find difficult to keep

  • 0

I have a state-transition problem with NSTimer, of which I find difficult to keep track of during applicationWillResignActive / applicationDidEnterBackground, according to the context of my app.

I was wondering if it might not be a better idea to utilise UILocalNotification, especially given it’s background/inactive firing. However, I wanted to know whether we have the ability to provide a custom method to UILocalNotification, of which does not present a dialog box (would damage the whole point of my app). In effect, i’d like to only make use of the timer-fire capabilities of UILocalNotification, and handle the fire event with my own method which does something very “undialog-friendly”

Have checked the ADC docs and it alludes to the dialog being presented every time.

Any advice you can give on this would be appreciated.

thanks

sc.

  • 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-27T06:22:37+00:00Added an answer on May 27, 2026 at 6:22 am

    The dialog box is presented when your app is in the background. But it is not presented when your app is running – instead your app is free to deal with the notification however it sees fit. So it would be perfectly possible to hook it up to a custom method of your own making.

    The main reason for this behaviour is a user may not want to go into your app if it’s in the background. Of course, with iOS 5 the notification may not be a dialog box – it could be one of the new notification styles.

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

Sidebar

Related Questions

I frequently run into the problem that I have to preserve state between several
Lets say i have two classes A and B, which have theirs internal state
I have a little problem that involves modeling a state machine. I have managed
I have a problem that the onHover state doesn't appear while the jQuery .cycle()
I have state data in a txt file that I used to seed my
basically i have (state, state code) pairs, that are subsets of country [USA] ->
I have a state machine workflow hosted in SharePoint with a delay activity in
I have a range named STATE. I want to set data validation in range
I have created a simple state machine model in Enterprise Architect and exported it
I have a lot of session state when programming - shell windows, ides, virtual

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.