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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:55:48+00:00 2026-05-30T18:55:48+00:00

Does anyone know how the cancelAllLocalNotifications method works on UIApplication? I’m wondering specifically how

  • 0

Does anyone know how the cancelAllLocalNotifications method works on UIApplication? I’m wondering specifically how iOS knows what to cancel. Does it know by App ID? Or does it use the version number of the app somehow?

What I’m experiencing right now is more notifications than I expect. This is the workflow:

  1. Cancel all notifications on app start
  2. Schedule notifications on app exit
  3. *When scheduling, add the notification info to a “Recents” list
  4. *When scheduling, schedule only 1 notification per day (verified in logging statements in XCode before I disconnect my phone).

Now, this is what I’m experiencing:

  1. Receive 4 notifications per day
  2. Only 1 of the notifications shows up in my “Recents” list (which makes sense, because that’s all I’m scheduling)

Previously, I my # of notifications per day set to 3. Then I updated the version number (say, from 1.1.0 to 1.1.1) for the “cancelAllLocalNotifications” method was called.

So, if the canceling of notifications is based upon the app’s version/bundle ID in any way, I’m getting old notifications along with the new ones.

However, if it is not, and iOS knows to cancel notifications scheduled from the previous version 1.1.0, then I have no idea where these additional notifications are coming from.

  • 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-30T18:55:50+00:00Added an answer on May 30, 2026 at 6:55 pm

    I believe that Local and Remote notifications are based upon the App ID (AppleID + BundleID). Therefore, regardless of version, you are going to get notifications. I can see the argument both for and against this implementation.

    Did you need some strategies for dealing with this… functionality?

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

Sidebar

Related Questions

Does anyone know of a good method for editing PDFs in PHP? Preferably open-source/zero-license
Does anyone know of a Mootools script that provides nested sortable but also works
Does anyone know what CSS and JavaScript API the Gmail mobile app uses? It
Does anyone know where I can find a tutorial on how to use GStreamer
Does anyone know a method to insert a image in background into a ListBox
Does anyone know if it is possible to use the TFS Difference.DiffFiles() methods on
Does anyone know of a TDataset descendant that works with Generics and RTTI, so
Does anyone know how to get IntelliSense to work reliably when working in C/C++
Does anyone know how to transform a enum value to a human readable value?
Does anyone know of a good Command Prompt replacement? I've tried bash/Cygwin, but that

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.