Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJunaid Abdurahman
Courses Plus Student 108 PointsRemove app badges Parse
When I send a push notification with parse and I add app badges, how do I make it so that the app badge will disappear when the user opens the app.
Language- Swift
2 Answers
landonferrier
25,097 PointsJunaid, I recently released a social network template to sellmyapp.com that includes this functionality. It might be of some use to your product: Lion - An Advanced Social Network Template
If you have any questions, feel free to ask!
Jason Wayne
11,688 PointsYou can try UIApplication.sharedApplication().applicationIconBadgeNumber = 0, in didFinishLaunching method in App Delegate.