<?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>Dan&#039;s Demented Ramblings &#187; SDK</title>
	<atom:link href="http://blog.drysdale.org/tag/sdk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.drysdale.org</link>
	<description>The geek shall inherit the earth</description>
	<lastBuildDate>Mon, 05 Jul 2010 23:04:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>UITabBarController refusing to rotate</title>
		<link>http://blog.drysdale.org/2009/02/09/uitabbarcontroller-refusing-to-rotate/</link>
		<comments>http://blog.drysdale.org/2009/02/09/uitabbarcontroller-refusing-to-rotate/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 01:17:23 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Rotation]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[UITabBarController]]></category>

		<guid isPermaLink="false">http://blog.drysdale.org/?p=147</guid>
		<description><![CDATA[<p>I was struggling for some hours on an issue with an App I&#8217;m writing for the iPhone.</p>
<p>For some reason I could not get any of the views to rotate to landscape, the API docs suggested that this was trivial and only required implementing the method</p>
<p>(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation</p>
<p>and always returning YES</p>
<p>The problem is that this doesn&#8217;t work if you are using a TabBarController created in Interface Builder. You can verify this by create a new project, specifying the type as &#8220;Tab Bar Application&#8221; and rotating the simulator&#8230;</p>
<p>I found a quick and easy solution to this problem in the following blog post</p>
<p><a href="http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/">Change iPhone/iPod app orientation within a UITabBarController</a></p>
<p>I added maybe a dozen lines of code to my app and the problem is solved&#8230;.</p>
<p>Thanks Arash&#8230;</p>
]]></description>
			<content:encoded><![CDATA[<p>I was struggling for some hours on an issue with an App I&#8217;m writing for the iPhone.</p>
<p>For some reason I could not get any of the views to rotate to landscape, the API docs suggested that this was trivial and only required implementing the method</p>
<p>(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation</p>
<p>and always returning YES</p>
<p>The problem is that this doesn&#8217;t work if you are using a TabBarController created in Interface Builder. You can verify this by create a new project, specifying the type as &#8220;Tab Bar Application&#8221; and rotating the simulator&#8230;</p>
<p>I found a quick and easy solution to this problem in the following blog post</p>
<p><a href="http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/">Change iPhone/iPod app orientation within a UITabBarController</a></p>
<p>I added maybe a dozen lines of code to my app and the problem is solved&#8230;.</p>
<p>Thanks Arash&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.drysdale.org/2009/02/09/uitabbarcontroller-refusing-to-rotate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
