Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to remove badge notification symbol from app icon in iPhone

I am facing a problem with removing the badge number which always shows a red "1" on app icon notification symbol where there is no notification pending.

How can I solve it?

like image 495
Rahul Avatar asked Sep 25 '12 18:09

Rahul


People also ask

How can I remove this alert badge from my settings icon?

Under Notifications, tap Notifications, and then tap the app you want to customize. Tap the On/Off switch next to the Allow icon badge option to turn it on or off.

How do I get rid of the notification circle?

Under More Controls, tap the + button next to Accessibility Shortcuts. Go to Control Center and tap the 'Accessibility Shortcuts' control button. Tap 'AssistiveTouch' to add or remove the circle icon on iPhone.


1 Answers

Use the below in applicationDidBecomeActive, some any methods in app life cycle..

[UIApplication sharedApplication].applicationIconBadgeNumber = 0;

When it is set to zero it should not show any badges.

like image 79
vishy Avatar answered Nov 03 '22 00:11

vishy