<?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://MobileDeveloperTips.com/user-interface/using-application-badges.html/feed" rel="self" type="application/rss+xml" />
	<link>http://MobileDeveloperTips.com/user-interface/using-application-badges.html</link>
	<description>iOS and Objective-C Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Tue, 22 May 2012 11:53:47 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: sreenivas</title>
		<link>http://MobileDeveloperTips.com/user-interface/using-application-badges.html#comment-68625</link>
		<dc:creator>sreenivas</dc:creator>
		<pubDate>Mon, 19 Mar 2012 09:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-68625</guid>
		<description>when first time application installed badge count is 0. Now in my application badge count is 20. now i remove application from spring board and again installed that time i want show badge count 0. but it&#039;s showing 20. 

[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];

i write this code when app is launched.

Thanks</description>
		<content:encoded><![CDATA[<p>when first time application installed badge count is 0. Now in my application badge count is 20. now i remove application from spring board and again installed that time i want show badge count 0. but it&#8217;s showing 20. </p>
<p>[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];</p>
<p>i write this code when app is launched.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kasper Munck</title>
		<link>http://MobileDeveloperTips.com/user-interface/using-application-badges.html#comment-67139</link>
		<dc:creator>Kasper Munck</dc:creator>
		<pubDate>Mon, 13 Feb 2012 20:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=1447#comment-67139</guid>
		<description>&quot;Although you can set a badge for an application icon, I believe the real creative uses of this will evolve if/when Apple provides a means for an application to update the badge when the application is not running.&quot;

The above is possible using APNS, but that requires a server application to keep track of your data and that makes your application far more complicated.</description>
		<content:encoded><![CDATA[<p>&#8220;Although you can set a badge for an application icon, I believe the real creative uses of this will evolve if/when Apple provides a means for an application to update the badge when the application is not running.&#8221;</p>
<p>The above is possible using APNS, but that requires a server application to keep track of your data and that makes your application far more complicated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Heriot</title>
		<link>http://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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://MobileDeveloperTips.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>
</channel>
</rss>

