Tutorial by Examples: badge

Use the following piece of code to set the badge number from within your application (suppose someNumber has been declared before): Objective-C [UIApplication sharedApplication].applicationIconBadgeNumber = someNumber; Swift UIApplication.shared.applicationIconBadgeNumber = someNumber In order ...
<ul class="list-group"> <li class="list-group-item"> <span class="badge">14</span> Cras justo odio </li> </ul>
Badges are numerical indicators of how many items are associated with a link: Use the .badge class within <span> elements to create badges: <a href="#">News <span class="badge">5</span></a><br> <a href="#">Comments <span c...

Page 1 of 1