For Tabs it is built in – UITabBarItem has a SetBadgeValue property. Setting it 
to any string displays that string (including an empty string). To hide the 
badge value, pass in null.

From: [email protected] 
[mailto:[email protected]] On Behalf Of James Clancey
Sent: Monday, February 06, 2012 2:29 PM
To: Jason Awbrey
Cc: [email protected]; MilkyJoe
Subject: Re: [MonoTouch] New Items Counter Icon/Overlay - How to implement?

So not sure where you are planning on adding the badge. If you are going to add 
it to your home screen icon you do so by setting 
UIApplication.SharedApplication.ApplicationIconBadgeNumber
If you want to set it on a tab or a screen inside your app, there is nothing 
built in. I have created UIView that I use. You can find it here:
https://github.com/Clancey/ClanceyLib/blob/master/ClanceysLib/Navigation/NavIconBadge.cs

--
James Clancey


On Monday, February 6, 2012 at 11:00 AM, Jason Awbrey wrote:
I think they're called "badges" when used with home screen icons - not sure if 
there is a different term within an app
On Mon, Feb 6, 2012 at 1:55 PM, MilkyJoe 
<[email protected]<mailto:[email protected]>> wrote:

I'm writing an RSS reader for a client. There are to be a number of
categories (feeds) that are available via the app. It will present the
categories in a list that, when clicked, will take the user to the feed's
article summary.

What I need to add, however, is one of those "new items" information icons -
I have no idea what they're actually called. I need to display a little red
circle icon next to the category in the list, that shows how many new
articles have been appeared since the last refresh.

I've been looking for examples of how to achieve this in MonoTouch, but I've
yet to find anything (probably because I don't know what they're called).

Can anyone point me in the right direction? What should I be looking for?

Thanks

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/New-Items-Counter-Icon-Overlay-How-to-implement-tp4362563p4362563.html
Sent from the MonoTouch mailing list archive at Nabble.com<http://Nabble.com>.
_______________________________________________
MonoTouch mailing list
[email protected]<mailto:[email protected]>
http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]<mailto:[email protected]>
http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to