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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:09:53+00:00 2026-06-07T19:09:53+00:00

Guyz help me please to understand badge count management. I’ve read that apple guide

  • 0

Guyz help me please to understand badge count management. I’ve read that apple guide but did not exactly understand who is responsible of management that count on icon?
if my app is not foreground i’m getting an alert(and “1” on icon) and if I tap View my app is launching and I decrease badgeCount:

[UIApplication sharedApplication].applicationIconBadgeNumber = [UIApplication sharedApplication].applicationIconBadgeNumber - 1;

That’s ok for a single notif. But where should I increase my badge count? For example if I receive 2 or 3 notifications I’m still having “1” on the app icon..or should iOS increase that count itself?

EDIT:
I’ve already found that server should send the proper number for example:

{
"aps" : {
    "badge" : 9
}

}

but how server knows the right number if for example I’ve already “read” a couple of news and current number not “9” but “7”? I need to pass that information to server?
Please explain me how this works! Thanks in advance!

  • 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-07T19:09:55+00:00Added an answer on June 7, 2026 at 7:09 pm

    When your app is in background(suspended) or not running at all then iOS is handling badge on app icon and it’s set to the number found in notification payload. iOS doesn’t do any counting of notifications.

    When app is running then its responsible for badge updating. In your case I think it should work like Mail app so app should tell server that user has read some stuff so server knows how many news have not been read yet so server can then send proper badge number once app is in background again and there is new news.

    Scheduling, Registering, and Handling Notifications

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

Sidebar

Related Questions

This question is similar to my previous question but not the same ... please
Would you guyz be so kind to help me with such question: I have
Hi guyz I'm trying to implement the InnerFade JQuery on my page but I'm
Hye guyz.. If i want to make a help button for my figure. How
hai guyz I need to create a login window for that window i need
Guyz facing problems with creating a push notification service (for android) using Google C2DM
hai guyz, how can i send AT-command through bluetooth from a python application? OS:fedora
HI Guyz i have created a sectioned custom listview using baseadapter its working fine
hi guyz i know android says if u are working with gui adjust your
So I was wondering is this enough to be safe that user won't 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.