I do not know how this is done out of the box, and I honestly doubt that Apple built it in the SDK.
In any case, you can create your own view using the button on it, add the background of the icon as a UIImageView and place a label on it to hold the icon counter.
This quick fix, it might be better to create a custom UIButton subclass and add your icon material as a preview
Bjรถrn Kaiser Jan 18 '11 at 15:52 2011-01-18 15:52
source share