<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Emmer Inc &#187; network activity indicator</title>
	<atom:link href="http://blog.emmerinc.be/index.php/tag/network-activity-indicator/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.emmerinc.be</link>
	<description>Tales from a .NET developer who's making the jump to the iPhone &#38; App Store wonderland.</description>
	<lastBuildDate>Mon, 06 Sep 2010 19:43:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Network activity indicator hidden in simulator</title>
		<link>http://blog.emmerinc.be/index.php/2009/03/03/network-activity-indicator-hidden-in-simulator/</link>
		<comments>http://blog.emmerinc.be/index.php/2009/03/03/network-activity-indicator-hidden-in-simulator/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 11:59:10 +0000</pubDate>
		<dc:creator>Yannick Compernol</dc:creator>
				<category><![CDATA[Xcode]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[network activity indicator]]></category>

		<guid isPermaLink="false">http://blog.emmerinc.be/?p=93</guid>
		<description><![CDATA[Yesterday I encountered this little nuisance, using Xcode 3.1.2 and firmware version 2.2.1. The following code snippet can be used to show and hide the network activity indicator in the status bar, yet when being run in the simulator it doesn&#8217;t work. When deployed to a device, the indicator is shown (and hidden afterwards). 
Can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I encountered this little nuisance, using Xcode 3.1.2 and firmware version 2.2.1. The following code snippet can be used to show and hide the network activity indicator in the status bar, yet when being run in the simulator it doesn&#8217;t work. When deployed to a device, the indicator is shown (and hidden afterwards). </p>
<p>Can&#8217;t really think of a valid reason why the indicator wouldn&#8217;t work on the simulator except that it is a bug, since I&#8217;ve made no changes to the code. I&#8217;ll have to see if it is a specific firmware 2.2.1 issue.</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #11740a; font-style: italic;">// Show network activity indicator</span>
<span style="color: #002200;">&#91;</span>UIApplication sharedApplication<span style="color: #002200;">&#93;</span>.networkActivityIndicatorVisible <span style="color: #002200;">=</span> <span style="color: #a61390;">YES</span>;
&nbsp;
<span style="color: #11740a; font-style: italic;">// Hide network activity indicator</span>
<span style="color: #002200;">&#91;</span>UIApplication sharedApplication<span style="color: #002200;">&#93;</span>.networkActivityIndicatorVisible <span style="color: #002200;">=</span> <span style="color: #a61390;">NO</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.emmerinc.be/index.php/2009/03/03/network-activity-indicator-hidden-in-simulator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
