开发者

How to display badgeNumber at UIButton

开发者 https://www.devze.com 2022-12-30 21:57 出处:网络
I am developing iphone application, I have a home page, wit开发者_StackOverflowh buttons (icons), I have an icon for notifications, I want to display a badge number on it to determine how many new not

I am developing iphone application, I have a home page, wit开发者_StackOverflowh buttons (icons), I have an icon for notifications, I want to display a badge number on it to determine how many new notifications user has. How I can do that for UIButton? I checked the SDK and found only UITabBarItem has badge value.


I found this helpful: http://wiki.github.com/tmdvs/TDBadgedCell/using-the-class

I used it to create my own badged button.

0

精彩评论

暂无评论...
验证码 换一张
取 消