0

I want to display Notification Count in iOS like Facebook as per attachment.! enter image description here

I have found https://github.com/JaviSoto/JSBadgeView but it's just for Launcher icon.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
PPShein
  • 13,309
  • 42
  • 142
  • 227
  • I found that answer is correct. http://stackoverflow.com/questions/5684636/how-to-add-badges-on-uibarbutton-item – PPShein Jun 09 '15 at 04:13

1 Answers1

0

You have to create an image that contains the badge and set it on the UIBarButtonItem. You can probably create a function that generates a badge and puts it on an image using Core Graphics

Yariv Nissim
  • 13,273
  • 1
  • 38
  • 44