<?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; snippet</title>
	<atom:link href="http://iphone.keyvisuals.com/tag/snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphone.keyvisuals.com</link>
	<description>Because Corporate Jobs Suck.</description>
	<lastBuildDate>Wed, 27 Jan 2010 19:42:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>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.





		
			Digg this!
		
		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Post this to MySpace
		
		
			Share this on del.icio.us
		
		
			Share this on FriendFeed
		
		
			Stumble upon something good? Share it on StumbleUpon
		
		
			
		
		
			Share this on LinkedIn
		





[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8004664411"]];
	
	
	
	
	
	dp.SyntaxHighlighter.ClipboardSwf [...]]]></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>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;title=Calling+a+Phone+Number+from+your+Application" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;t=Calling+a+Phone+Number+from+your+Application" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Calling+a+Phone+Number+from+your+Application+-+http://b2l.me/tjjw+(via+@keyvisuals)&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;t=Calling+a+Phone+Number+from+your+Application" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;title=Calling+a+Phone+Number+from+your+Application" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Calling+a+Phone+Number+from+your+Application&amp;link=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;title=Calling+a+Phone+Number+from+your+Application" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-google">
			<a href="" rel="nofollow" title=""></a>
		</li>
		<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://iphone.keyvisuals.com/code-snippets/calling-a-phone-number-from-your-application/&amp;title=Calling+a+Phone+Number+from+your+Application&amp;summary=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;source=#iPhoneDev" rel="nofollow" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<textarea cols="40" rows="10" name="code" class="Cpp">[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8004664411"]];</textarea>
	<!-- Wordpress Code Snippet -->
	<script type="text/javascript" src="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/shCore.js"></script><script type="text/javascript" src="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/shBrushCpp.js"></script>
	<link type="text/css" rel="stylesheet" href="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/css/SyntaxHighlighter.css"/>
	
	<script language="javascript">
	dp.SyntaxHighlighter.ClipboardSwf = 'http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/clipboard.swf';
	dp.SyntaxHighlighter.HighlightAll('code');
	</script>
	<!-- End Wordpress Code Snippet -->
	]]></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>
		<item>
		<title>How to hide the UIStatus Bar</title>
		<link>http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/</link>
		<comments>http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 22:10:22 +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[snippet]]></category>

		<guid isPermaLink="false">http://iphone.keyvisuals.com/?p=200</guid>
		<description><![CDATA[This has got to be one of the top questions asked by new app developers. &#8220;How do I hide the UIStatus Bar?&#8221;
You can use the code snippet below or add UIStatusBarHidden to your info.Plist file, change it&#8217;s type to boolean and add a check mark to the box.





		
			Digg this!
		
		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Post this to [...]]]></description>
			<content:encoded><![CDATA[<p>This has got to be one of the top questions asked by new app developers. <em>&#8220;How do I hide the UIStatus Bar?&#8221;</em></p>
<p>You can use the code snippet below or add <strong>UIStatusBarHidden</strong> to your info.Plist file, change it&#8217;s type to boolean and add a check mark to the box.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;title=How+to+hide+the+UIStatus+Bar" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;t=How+to+hide+the+UIStatus+Bar" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=How+to+hide+the+UIStatus+Bar+-+http://b2l.me/tjjx+(via+@keyvisuals)&amp;source=shareaholic" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;t=How+to+hide+the+UIStatus+Bar" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://delicious.com/post?url=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;title=How+to+hide+the+UIStatus+Bar" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=How+to+hide+the+UIStatus+Bar&amp;link=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;title=How+to+hide+the+UIStatus+Bar" rel="nofollow" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="sexy-google">
			<a href="" rel="nofollow" title=""></a>
		</li>
		<li class="sexy-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/&amp;title=How+to+hide+the+UIStatus+Bar&amp;summary=This%20has%20got%20to%20be%20one%20of%20the%20top%20questions%20asked%20by%20new%20app%20developers.%20%22How%20do%20I%20hide%20the%20UIStatus%20Bar%3F%22%0D%0A%0D%0AYou%20can%20use%20the%20code%20snippet%20below%20or%20add%20UIStatusBarHidden%20to%20your%20info.Plist%20file%2C%20change%20it%27s%20type%20to%20boolean%20and%20add%20a%20check%20mark%20to%20the%20box.&amp;source=#iPhoneDev" rel="nofollow" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

<textarea cols="40" rows="10" name="code" class="CSharp">[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]];</textarea>
	<!-- Wordpress Code Snippet -->
	<script type="text/javascript" src="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/shCore.js"></script><script type="text/javascript" src="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/shBrushCSharp.js"></script>
	<link type="text/css" rel="stylesheet" href="http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/css/SyntaxHighlighter.css"/>
	
	<script language="javascript">
	dp.SyntaxHighlighter.ClipboardSwf = 'http://iphone.keyvisuals.com/wp-content/plugins/wordpress-code-snippet/js/clipboard.swf';
	dp.SyntaxHighlighter.HighlightAll('code');
	</script>
	<!-- End Wordpress Code Snippet -->
	]]></content:encoded>
			<wfw:commentRss>http://iphone.keyvisuals.com/code-snippets/how-to-hide-the-uistatus-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
