<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Application Badges</title>
	<atom:link href="http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html</link>
	<description>iOS Developer Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Wed, 08 Feb 2012 06:31:16 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: James Heriot</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-61291</link>
		<dc:creator>James Heriot</dc:creator>
		<pubDate>Thu, 13 Oct 2011 18:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-61291</guid>
		<description>To use the a zero or a negative number, would you be able to use for example x=(0) or x=(-9) with the parentheses keeping it from actually being a true zero or negative number. Just a thought.</description>
		<content:encoded><![CDATA[<p>To use the a zero or a negative number, would you be able to use for example x=(0) or x=(-9) with the parentheses keeping it from actually being a true zero or negative number. Just a thought.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-48658</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Wed, 04 May 2011 14:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-48658</guid>
		<description>You can schedule that you get an update using UILocalNotification. The class reference discusses the options for it, but basically you can schedule when your app receives a message. This posting is also very helpful: http://stackoverflow.com/questions/5375355/clear-app-badge-with-local-notifications</description>
		<content:encoded><![CDATA[<p>You can schedule that you get an update using UILocalNotification. The class reference discusses the options for it, but basically you can schedule when your app receives a message. This posting is also very helpful: <a href="http://stackoverflow.com/questions/5375355/clear-app-badge-with-local-notifications" rel="nofollow">http://stackoverflow.com/questions/5375355/clear-app-badge-with-local-notifications</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Muchow</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-28281</link>
		<dc:creator>John Muchow</dc:creator>
		<pubDate>Mon, 18 Oct 2010 02:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-28281</guid>
		<description>John, you will need to look into the multi-tasking API&#039;s to manage this, by default once something is put into the background, it is essentially paused.</description>
		<content:encoded><![CDATA[<p>John, you will need to look into the multi-tasking API&#8217;s to manage this, by default once something is put into the background, it is essentially paused.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-27976</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 15 Oct 2010 08:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-27976</guid>
		<description>Hi,

How do you update the badge when your app is inactive? I want my app to check msgs and update the badge but once I close the app, the timer stops.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How do you update the badge when your app is inactive? I want my app to check msgs and update the badge but once I close the app, the timer stops.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom H</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-14890</link>
		<dc:creator>Tom H</dc:creator>
		<pubDate>Sat, 08 May 2010 18:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-14890</guid>
		<description>Hey Nick,

You could achieve that by positioning a custom UIView with badge image and label over the segmented control or use the method setImage:forSegmentAtIndex: to set a custom image as the segments content. You could create the segment content as a custom UIView then render it as an image (checkout http://pastie.org/244916) then set that as the segment image. Maybe create a UIView subclass with a method that takes a comment number and returns a UIImage to set as the segment control content when the comment count changes?</description>
		<content:encoded><![CDATA[<p>Hey Nick,</p>
<p>You could achieve that by positioning a custom UIView with badge image and label over the segmented control or use the method setImage:forSegmentAtIndex: to set a custom image as the segments content. You could create the segment content as a custom UIView then render it as an image (checkout <a href="http://pastie.org/244916" rel="nofollow">http://pastie.org/244916</a>) then set that as the segment image. Maybe create a UIView subclass with a method that takes a comment number and returns a UIImage to set as the segment control content when the comment count changes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Smith</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-14168</link>
		<dc:creator>Nick Smith</dc:creator>
		<pubDate>Tue, 27 Apr 2010 16:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-14168</guid>
		<description>Is it possible to use badges on a segmented control? We&#039;re working on an app where one of the buttons opens a comments pane. I&#039;d like to use a badge to display a count of new comments since last viewed. I&#039;ve been told this isn&#039;t possible.</description>
		<content:encoded><![CDATA[<p>Is it possible to use badges on a segmented control? We&#8217;re working on an app where one of the buttons opens a comments pane. I&#8217;d like to use a badge to display a count of new comments since last viewed. I&#8217;ve been told this isn&#8217;t possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Muchow</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-9645</link>
		<dc:creator>John Muchow</dc:creator>
		<pubDate>Tue, 16 Feb 2010 14:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-9645</guid>
		<description>Hi Bjørn,

Unfortunately, it looks like zero or any negative value removes the badge from the display.</description>
		<content:encoded><![CDATA[<p>Hi Bjørn,</p>
<p>Unfortunately, it looks like zero or any negative value removes the badge from the display.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjørn Tennøe</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-9638</link>
		<dc:creator>Bjørn Tennøe</dc:creator>
		<pubDate>Tue, 16 Feb 2010 08:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-9638</guid>
		<description>Hi, can you show negative number? That way, temperature could be shown (for an online weather app)</description>
		<content:encoded><![CDATA[<p>Hi, can you show negative number? That way, temperature could be shown (for an online weather app)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-257</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 26 Feb 2009 04:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-257</guid>
		<description>Hi Doug,

You should be able to pass in any variable of type NSInteger.

NSInteger x = 99;
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:x];

John</description>
		<content:encoded><![CDATA[<p>Hi Doug,</p>
<p>You should be able to pass in any variable of type NSInteger.</p>
<p>NSInteger x = 99;<br />
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:x];</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://iPhoneDeveloperTips.com/user-interface/using-application-badges.html#comment-255</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 26 Feb 2009 04:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-255</guid>
		<description>Hey John,

As someone who is new xcode thow would I pass a variable to the App Badge?

Thanks, Doug</description>
		<content:encoded><![CDATA[<p>Hey John,</p>
<p>As someone who is new xcode thow would I pass a variable to the App Badge?</p>
<p>Thanks, Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

