<?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>#iPhoneDev &#187; Code Snippets</title>
	<atom:link href="http://iphone.keyvisuals.com/category/code-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphone.keyvisuals.com</link>
	<description>Because Corporate Jobs Suck.</description>
	<lastBuildDate>Fri, 13 Jan 2012 07:26:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FIXED: directoryContentsAtPath is Deprecated Error</title>
		<link>http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 15:08:13 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[deprecated]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=942</guid>
		<description><![CDATA[It’s recommended practice to treat build warnings the same as errors so here&#8217;s a handy little tidbit to help you out: The deprecated way: NSArray *fileList = [manager directoryContentsAtPath:productDirectory]; replace directoryContentsAtPath with contentsOfDirectoryAtPath &#38; you must also add error:nil The new hotness: NSArray *fileList = [manager contentsOfDirectoryAtPath:productDirectory error:nil]; Blog this on Blogger Share this on [...]]]></description>
			<content:encoded><![CDATA[<p>It’s recommended practice to treat build warnings the same as errors so here&#8217;s a handy little tidbit to help you out:</p>
<p>The deprecated way:<br />
<span style="color: #000000;"><strong>NSArray *fileList = [manager directoryContentsAtPath:<strong>productDirectory</strong>];</strong></span></p>
<p>replace <span style="color: #ff0000;"><strong>directoryContentsAtPath</strong></span> with <span style="color: #3366ff;"><strong>contentsOfDirectoryAtPath</strong></span> &amp; you must also add <span style="color: #3366ff;"><strong> error:nil</strong></span></p>
<p>The new hotness:<br />
<strong>NSArray *fileList = [manager contentsOfDirectoryAtPath:productDirectory error:nil];</strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+directoryContentsAtPath+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/&amp;notes=It%E2%80%99s%20recommended%20practice%20to%20treat%20build%20warnings%20the%20same%20as%20errors%20so%20here%27s%20a%20handy%20little%20tidbit%20to%20help%20you%20out%3A%0D%0A%0D%0AThe%20deprecated%20way%3A%0D%0ANSArray%20%2AfileList%20%3D%20%5Bmanager%20directoryContentsAtPath%3AproductDirectory%5D%3B%0D%0A%0D%0Areplace%20directoryContentsAtPath%20with%20contentsOfDirectoryAtPath%20%26amp%3B%20you%20must%20als&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/fixed-directorycontentsatpath-is-deprecated-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Integrating iAds and iAds w/ AdMob Fallback</title>
		<link>http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 19:28:37 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[xcode]]></category>
		<category><![CDATA[AdMob]]></category>
		<category><![CDATA[iads]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=854</guid>
		<description><![CDATA[I know i&#8217;m a bit late to this party but over the last few days I have decided to integrate Apple&#8217;s iAds into some of my free apps. This is mainly due to the fact that I&#8217;m sick and tired of dealing with MobClix. I searched around for a bit and came up with some [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-855" title="iAd" src="http://iphone.keyvisuals.com/wp-content/uploads/2011/09/iAdsLogo.jpg" alt="" width="140" height="140" />I know i&#8217;m a bit late to this party but over the last few days I have decided to integrate Apple&#8217;s iAds into some of my free apps. This is mainly due to the fact that I&#8217;m sick and tired of dealing with MobClix. I searched around for a bit and came up with some excellent sample code provided by <span style="color: #3366ff;"><strong><a href="http://bees4honey.com/blog/tutorial/how-to-add-iad-banner-in-iphoneipad-app/" target="_blank"><span style="color: #3366ff;">bees4honey</span></a></strong></span>. I followed their tutorial and after fixing a few deprecation errors I would like to share with you the completed <span style="color: #ff0000;"><strong><a href="http://iphone.keyvisuals.com/downloads/iAdBanner_sampleCode.zip" target="_blank"><span style="color: #ff0000;">sample project</span></a></strong></span>.</p>
<p><img class="size-full wp-image-857 alignright" title="GoogleAdmob" src="http://iphone.keyvisuals.com/wp-content/uploads/2011/09/GoogleAdmob_crop380w.jpeg" alt="" width="182" height="120" />I also use AdMob and have always been pretty happy with them but I keep hearing about how much better the iAds are paying out. The one big drawback to iAds being you don&#8217;t get as many ads as you would with AdMob. I understand there are some advertising networks out there that allow you to take advantage of multiple ad networks. The problem there is that you are under their control and who knows how and when they regulate those ads. So why not take control yourself?</p>
<p>So I began searching for a method of integrating both myself. Fortunately I found a post on the <strong>xcode noobies blog</strong>. They had a <strong><span style="color: #3366ff;"><a href="http://xcodenoobies.blogspot.com/2011/01/how-to-integrate-iad-for-os32-and-admob.html" target="_blank"><span style="color: #3366ff;">blog post</span></a></span></strong> outlining something very similar to what I was looking to accomplish. Their code was designed to display an iAd unless the app was being run on a device running iOS 3.2 which doesn&#8217;t support iAds. So instead of loosing revenue on older devices their intent was to load AdMob Ads as backup. So, I modified their code to load AdMob Ads as a fallback whenever an iAd is not available &#8211; rather than just when the OS version was too old to support iAds. I think this is ultimately more useful. The OS detection code is still present but not very necessary.<em> Just make sure if you are  targeting iOS 3.2 or below to WEAK LINK the iAd Framework</em>.</p>
<p><strong>UPDATE: 9/29/11: <span style="color: #ff0000;">After experimenting with the project below for some time I have found it to be quite troublesome and buggy. I am leaving the code up as it may be a good starting point for someone but use at your own risk!</span></strong></p>
<p><img class="alignleft size-full wp-image-861" title="iAds_Test_Ads" src="http://iphone.keyvisuals.com/wp-content/uploads/2011/09/iAds_Test_Ads.png" alt="" width="256" height="40" /></p>
<p><strong></strong>Code calls 1st for the iAd and 2nd for the AdMob Ad &#8211; If an iAd is available it&#8217;s displayed right away. If not,  hopefully an AdMob ad is displayed. Even when AdMob ads are being displayed the app checks for iAds (refresh time is controlled by Apple) and loads them as soon as they are available.  AdMob Ads are refreshed every 30 seconds in code (you can adjust this.) Hopefully with this we can all maximize our income =) The project can be downloaded <strong><a href="http://iphone.keyvisuals.com/downloads/iAds_AdMobFallback_latestSDK_sampleCode.zip" target="_blank"><span style="color: #ff0000;">HERE</span></a></strong>.</p>
<p>Now I have to warn you. I have no idea if this method of doing things is 100% correct. I&#8217;m not an expert. <del>This project uses a 9 month old version of the AdMob SDK. I have tried unsuccessfully to update the code to run with the latest Google/AdMob SDK</del>.  <img class="size-full wp-image-864 alignleft" title="AdMobAds_Test_Ads" src="http://iphone.keyvisuals.com/wp-content/uploads/2011/09/AdMobAds_Test_Ads.png" alt="" width="256" height="40" /><strong><em>I was able to update the code to utilize the latest Google/AdMob SDK version 4.1.1 =) </em></strong>Enjoy!<em><strong></strong></em></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Integrating+iAds+and+iAds+w%2F+AdMob+Fallback&amp;link=http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/&amp;notes=I%20know%20i%27m%20a%20bit%20late%20to%20this%20party%20but%20over%20the%20last%20few%20days%20I%20have%20decided%20to%20integrate%20Apple%27s%20iAds%20into%20some%20of%20my%20free%20apps.%20This%20is%20mainly%20due%20to%20the%20fact%20that%20I%27m%20sick%20and%20tired%20of%20dealing%20with%20MobClix.%20I%20searched%20around%20for%20a%20bit%20and%20came%20up%20with%20some%20excellent%20sample%20code%20provided%20by%20bees4&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/integrating-iads-or-iads-with-admob-fallback/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>easyAPNS: Open Source Push Notification Service (using PHP/mySQL)</title>
		<link>http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 17:45:44 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[apns]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[push]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=757</guid>
		<description><![CDATA[easyAPNS is an open source (free) system for sending Apple&#8217;s push notifications to a device. From their website: What is Easy APNs? If you are a native iPhone application developer, you may have heard of the Apple Push Notification service (APNs). There are a lot of excellent online guides on how to get your application [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://iphone.keyvisuals.com/wp-content/uploads/2010/01/apns.png"><img class="alignleft size-full wp-image-759" title="apns" src="http://iphone.keyvisuals.com/wp-content/uploads/2010/01/apns.png" alt="" width="54" height="55" /></a>easyAPNS is an open source (free) system for sending Apple&#8217;s push notifications to a device. <em>From their website:</em></p>
<p><a href="http://iphone.keyvisuals.com/wp-content/uploads/2010/01/easyAPNS.png"><img class="alignleft size-full wp-image-758" title="easyAPNS" src="http://iphone.keyvisuals.com/wp-content/uploads/2010/01/easyAPNS.png" alt="" width="185" height="323" /></a></p>
<p><strong>What is Easy APNs?</strong><br />
If you are a native iPhone application developer, you may have heard of the Apple Push Notification service (APNs). There are a lot of excellent online guides on how to get your application to receive remote notifications&#8230; but what about the other piece of the puzzle&#8230; ACTUALLY SENDING A MESSAGE?!?!</p>
<p>This very cool project is brought you by <a href="http://www.manifestinteractive.com/" target="_blank">Manifest Interactive</a>.</p>
<p>*NOTE: I was NOT able to get this up and running on GoDaddy Hosting for some unknown reason, but the same exact files worked <strong>flawlessly </strong>on <a href="http://mediatemple.net/" target="_blank"><strong>(mt) MediaTemple</strong></a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=easyAPNS%3A+Open+Source+Push+Notification+Service+%28using+PHP%2FmySQL%29&amp;link=http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/&amp;notes=easyAPNS%20is%20an%20open%20source%20%28free%29%20system%20for%20sending%20Apple%27s%20push%20notifications%20to%20a%20device.%20From%20their%20website%3A%0D%0A%0D%0A%0D%0A%0D%0AWhat%20is%20Easy%20APNs%3F%0D%0AIf%20you%20are%20a%20native%20iPhone%20application%20developer%2C%20you%20may%20have%20heard%20of%20the%20Apple%20Push%20Notification%20service%20%28APNs%29.%20There%20are%20a%20lot%20of%20excellent%20online%20guides%20o&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/easyapns-open-source-push-notification-service/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FIXED: stringWithContentsOfFile is Deprecated Error</title>
		<link>http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/</link>
		<comments>http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 19:02:13 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[deprecated]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fixed]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=546</guid>
		<description><![CDATA[Now that I&#8217;ve started working with the latest and greatest iPhone SDK I&#8217;m running into a bunch of deprecated method errors. It&#8217;s recommended practice to treat warnings the same as errors so I have been trying to fix them as they pop up. The one in particular that was giving me trouble today was: NSString [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;ve started working  with the latest and greatest iPhone SDK I&#8217;m running into a bunch of deprecated method errors. It&#8217;s recommended practice to treat warnings the same as errors so I have been trying to fix them as they pop up. The one in particular that was giving me trouble today was:</p>
<p><span style="color: #000000;"><strong>NSString *contents = [NSString stringWithContentsOfFile:fullpath];</strong></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">After doing a bit of Googling I found the solution. </span></span></p>
<p><span style="color: #ff0000;"><span style="color: #000000;">Replace </span></span><span style="color: #ff0000;">NSString *contents = [NSString stringWithContentsOfFile:fullpath];<span style="color: #000000;"> with:</span></span></p>
<p><span style="color: #000000;"><strong> NSString *contents = [NSString stringWithContentsOfFile:fullpath encoding:NSUTF8StringEncoding error:nil];[NSString stringWithContentsOfFile:fullpath encoding:NSUTF8StringEncoding error:nil];</strong></span></p>
<p><span style="color: #000000;"><strong><br />
</strong></span></p>
<p><span style="color: #000000;">(Side Note: Ever since I began coding my vocabulary has expanded. Now I get to use words like <em>Redacted</em> and <em>Deprecated <img src='http://iphone.keyvisuals.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </em>Thanks Apple!<em>)</em><strong><br />
</strong></span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+stringWithContentsOfFile+is+Deprecated+Error&amp;link=http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/&amp;notes=Now%20that%20I%27ve%20started%20working%20%20with%20the%20latest%20and%20greatest%20iPhone%20SDK%20I%27m%20running%20into%20a%20bunch%20of%20deprecated%20method%20errors.%20It%27s%20recommended%20practice%20to%20treat%20warnings%20the%20same%20as%20errors%20so%20I%20have%20been%20trying%20to%20fix%20them%20as%20they%20pop%20up.%20The%20one%20in%20particular%20that%20was%20giving%20me%20trouble%20today%20was%3A%0D%0A%0D&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/apps/fixed-stringwithcontentsoffile-is-deprecated-error/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>FIXED: XCode Not recognizing Development Device After 3.0.1 Upgrade</title>
		<link>http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/</link>
		<comments>http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 18:29:15 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=448</guid>
		<description><![CDATA[I wasn&#8217;t paying attention yesterday when I opened iTunes it told me there was a new version of  iPhone OS that fixed a major vulnerability. Without thinking I went ahead and updated my iPhone OS to 3.0.1 No big deal right? WRONG. All of a sudden XCode no longer recognizes my phone as a development [...]]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t paying attention yesterday when I opened iTunes it told me there was a new version of  iPhone OS that fixed a major vulnerability. Without thinking I went ahead and updated my iPhone OS to 3.0.1 No big deal right? WRONG. All of a sudden XCode no longer recognizes my phone as a development device.</p>
<p>What this means is that I can no longer test code on my phone  <img src='http://iphone.keyvisuals.com/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' /> </p>
<p>After a quick search I found the solution posted on the iphonedevsdk forums! The original post can be found at <a href="http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/21005-xcode-3-1-3-3-0-7a341.html" target="_blank">http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/21005-xcode-3-1-3-3-0-7a341.html</a></p>
<p>For those of you who just want the fix and want it now, here it is . . .</p>
<p><em>(Just paste this line into a terminal window while XCode is closed)</em></p>
<p><strong>ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1</strong></p>
<p>That did it for me, hopefully it helps you!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=FIXED%3A+XCode+Not+recognizing+Development+Device+After+3.0.1+Upgrade&amp;link=http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/&amp;notes=I%20wasn%27t%20paying%20attention%20yesterday%20when%20I%20opened%20iTunes%20it%20told%20me%20there%20was%20a%20new%20version%20of%C2%A0%20iPhone%20OS%20that%20fixed%20a%20major%20vulnerability.%20Without%20thinking%20I%20went%20ahead%20and%20updated%20my%20iPhone%20OS%20to%203.0.1%20No%20big%20deal%20right%3F%20WRONG.%20All%20of%20a%20sudden%20XCode%20no%20longer%20recognizes%20my%20phone%20as%20a%20development%20&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/apple/fixed-xcode-not-recognizing-development-device-after-upgrade/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Detect Network Availability in apps</title>
		<link>http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:18:12 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Keyvisuals]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[reachability]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=338</guid>
		<description><![CDATA[** UPDATE 11/12/09 : BOTH my wifi &#38; network connection detection apps are WORKING Again! ** If you write an app that depends on internet access in order to function properly Apple requires that you detect the state of the connection and report it to the user when that connection is unavailable. If you do [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;"><span style="color: #000000;">** </span><span style="color: #339966;">UPDATE 11/12/09 </span></span>: BOTH my wifi &amp; network connection detection apps are WORKING Again! **<br />
</strong></p>
<p>If you write an app that depends on internet access in order to function properly Apple requires that you detect the state of the connection and report it to the user when that connection is unavailable. If you do not Apple will reject your app on the basis that it is confusing to the user. Confusing because the app does not work and Apple assumes that the user will not understand why. Makes sense.</p>
<p>Here is one way to determine whether or not the users device has airplane mode enabled . . .</p>
<ol>
<li>Add <strong>SBUsesNetwork </strong>to the <strong>Info.plist </strong></li>
<li>Change its type to<strong> Boolean</strong></li>
<li>Add a check mark to enable</li>
</ol>
<p>Here is handy little project that detects whether or not your application has access to a WiFi network:</p>
<p><span style="color: #339966;"><a href="http://iphone.keyvisuals.com/downloads/TestWifi_3.0.zip"><strong>Download TestWifi_3.0.zip</strong></a></span></p>
<p>Here is another handy little project that detects whether or not your application has any network access:</p>
<p><a href="http://iphone.keyvisuals.com/downloads/NetConnectDetect_3.0.zip"><strong>Download NetConnectDetection_3.0.zip</strong></a><span style="text-decoration: line-through;"><a href="http://iphone.keyvisuals.com/downloads/NetConnectDetection.zip"><strong><br />
</strong></a></span></p>
<p>Feel free to use any of the above code in any way you wish. I am providing it in the hopes that it will help save someone from the headache that I experienced all day yesterday trying to get network detection to work <img src='http://iphone.keyvisuals.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>If you find any errors or corrections please notify me and I will update the sample apps. Thanks!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Detect+Network+Availability+in+apps&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/&amp;notes=%2A%2A%20UPDATE%2011%2F12%2F09%20%3A%20BOTH%20my%20wifi%20%26amp%3B%20network%20connection%20detection%20apps%20are%20WORKING%20Again%21%20%2A%2A%0D%0A%0D%0A%0D%0AIf%20you%20write%20an%20app%20that%20depends%20on%20internet%20access%20in%20order%20to%20function%20properly%20Apple%20requires%20that%20you%20detect%20the%20state%20of%20the%20connection%20and%20report%20it%20to%20the%20user%20when%20that%20connection%20is%20unavaila&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to remove the glossy effect from your app icons</title>
		<link>http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/</link>
		<comments>http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 22:07:16 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=245</guid>
		<description><![CDATA[Here&#8217;s how to remove the shinny gloss look that is automagically added to your app icon by xCode. Sometimes you just don&#8217;t want to look like everyone else You have to add the line UIPrerenderedIcon to your Info.plist file. Change its value to boolean and then add a check mark like below . . . [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to remove the shinny gloss look that is automagically added to your app icon by xCode. Sometimes you just don&#8217;t want to look like everyone else <img src='http://iphone.keyvisuals.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>You have to add the line</p>
<blockquote><p>UIPrerenderedIcon</p></blockquote>
<p>to your Info.plist file. Change its value to boolean and then add a check mark like below . . .</p>
<p><img class="size-full wp-image-246 alignnone" title="gloss1" src="http://iphone.keyvisuals.com/wp-content/uploads/2009/04/gloss1.jpg" alt="gloss1" width="386" height="101" /></p>
<p>That will change this into this :</p>
<p><img class="size-full wp-image-247 alignnone" title="gloss2" src="http://iphone.keyvisuals.com/wp-content/uploads/2009/04/gloss2.jpg" alt="gloss2" width="163" height="94" /></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+remove+the+glossy+effect+from+your+app+icons&amp;link=http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/&amp;notes=Here%27s%20how%20to%20remove%20the%20shinny%20gloss%20look%20that%20is%20automagically%20added%20to%20your%20app%20icon%20by%20xCode.%20Sometimes%20you%20just%20don%27t%20want%20to%20look%20like%20everyone%20else%20%3B-%29%0D%0A%0D%0AYou%20have%20to%20add%20the%20line%0D%0AUIPrerenderedIcon%0D%0Ato%20your%20Info.plist%20file.%20Change%20its%20value%20to%20boolean%20and%20then%20add%20a%20check%20mark%20like%20below%20.%20.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/apps/how-to-remove-the-glossy-effect-from-your-app-icons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Launch App Store Search to your Developer Account</title>
		<link>http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 22:20:12 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=211</guid>
		<description><![CDATA[Here&#8217;s a handy code if you would like to add a button to your app that allows users to click it and be taken directly to a search listing of ALL your apps on the iTunes App Store. (see below) This is alot handier than adding a button/link to each individual app Blog this on [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a handy code if you would like to add a button to your app that allows users to click it and be taken directly to a search listing of ALL your apps on the iTunes App Store. (see below) This is alot handier than adding a button/link to each individual app <img src='http://iphone.keyvisuals.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Launch+App+Store+Search+to+your+Developer+Account&amp;link=http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/&amp;notes=Here%27s%20a%20handy%20code%20if%20you%20would%20like%20to%20add%20a%20button%20to%20your%20app%20that%20allows%20users%20to%20click%20it%20and%20be%20taken%20directly%20to%20a%20search%20listing%20of%20ALL%20your%20apps%20on%20the%20iTunes%20App%20Store.%20%28see%20below%29%20This%20is%20alot%20handier%20than%20adding%20a%20button%2Flink%20to%20each%20individual%20app%20%3B-%29&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/launch-app-store-search-to-your-developer-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sending an SMS message from your app</title>
		<link>http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 22:16:35 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=208</guid>
		<description><![CDATA[If you would like to launch the SMS app and send a predefined message use the code below Blog this on Blogger Share this on del.icio.us Digg this! Share this on Facebook Post on Google Buzz Share this on Reddit Stumble upon something good? Share it on StumbleUpon Share this on Technorati Tweet This! Get [...]]]></description>
			<content:encoded><![CDATA[<p>If you would like to launch the SMS app and send a predefined message use the code below</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Sending+an+SMS+message+from+your+app&amp;link=http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/&amp;notes=If%20you%20would%20like%20to%20launch%20the%20SMS%20app%20and%20send%20a%20predefined%20message%20use%20the%20code%20below&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/sending-an-sms-message-from-your-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Calling a Phone Number from your Application</title>
		<link>http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 22:14:05 +0000</pubDate>
		<dc:creator>keyvisuals</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=205</guid>
		<description><![CDATA[If you would like to add a button to your application and have it launch the Phone app to dial a pre-defined phone number use the code below. Blog this on Blogger Share this on del.icio.us Digg this! Share this on Facebook Post on Google Buzz Share this on Reddit Stumble upon something good? Share [...]]]></description>
			<content:encoded><![CDATA[<p>If you would like to add a button to your application and have it launch the Phone app to dial a pre-defined phone number use the code below.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;notes=If%20you%20would%20like%20to%20add%20a%20button%20to%20your%20application%20and%20have%20it%20launch%20the%20Phone%20app%20to%20dial%20a%20pre-defined%20phone%20number%20use%20the%20code%20below.&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

