<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Change iPhone/iPod app orientation within a UITabBarController</title>
	<atom:link href="http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/feed/" rel="self" type="application/rss+xml" />
	<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/</link>
	<description>(Place witty tagline here)</description>
	<lastBuildDate>Tue, 22 Sep 2009 06:52:38 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joe</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-2204</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 13 Aug 2009 15:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-2204</guid>
		<description>Bug filed with Apple. Includes minimal test case app. :(

http://openradar.appspot.com/7139857</description>
		<content:encoded><![CDATA[<p>Bug filed with Apple. Includes minimal test case app. :(</p>
<p><a href="http://openradar.appspot.com/7139857" rel="nofollow">http://openradar.appspot.com/7139857</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-2201</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 13 Aug 2009 03:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-2201</guid>
		<description>Greetings! I&#039;ve got this working like a charm ... except for the cases where the view controller in question originated from within the MoreNavigationController. Then things go all haywire.

See this (over-descriptive) thread on Stack Overflow for the full scoop. Any ideas? :(

http://stackoverflow.com/questions/1269704/uitabbarcontroller-moreviewcontroller-and-the-holy-grail-of-device-rotation</description>
		<content:encoded><![CDATA[<p>Greetings! I&#8217;ve got this working like a charm &#8230; except for the cases where the view controller in question originated from within the MoreNavigationController. Then things go all haywire.</p>
<p>See this (over-descriptive) thread on Stack Overflow for the full scoop. Any ideas? :(</p>
<p><a href="http://stackoverflow.com/questions/1269704/uitabbarcontroller-moreviewcontroller-and-the-holy-grail-of-device-rotation" rel="nofollow">http://stackoverflow.com/questions/1269704/uitabbarcontroller-moreviewcontroller-and-the-holy-grail-of-device-rotation</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vic</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-2180</link>
		<dc:creator>Vic</dc:creator>
		<pubDate>Fri, 17 Jul 2009 14:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-2180</guid>
		<description>I implemented RotatingTabBarController in my app. It works fine for change of orientation. But it causes a new problem.

I have more than 5 tab pages. iPhone automatically adds the &quot;More&quot; button (handled by moreNavigationController). The &quot;Mote&quot; view shows an Edit button on top right. It is supposed to allow users to rearrange the tab icons. But the edit button no longer works.

Is there a way to fix that?</description>
		<content:encoded><![CDATA[<p>I implemented RotatingTabBarController in my app. It works fine for change of orientation. But it causes a new problem.</p>
<p>I have more than 5 tab pages. iPhone automatically adds the &#8220;More&#8221; button (handled by moreNavigationController). The &#8220;Mote&#8221; view shows an Edit button on top right. It is supposed to allow users to rearrange the tab icons. But the edit button no longer works.</p>
<p>Is there a way to fix that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Drysdale</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1490</link>
		<dc:creator>Daniel Drysdale</dc:creator>
		<pubDate>Mon, 09 Feb 2009 01:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1490</guid>
		<description>This post fixed an issue I wasted a few hours on last night, I should have googled earlier :(

Thanks for the clear and concise directions....</description>
		<content:encoded><![CDATA[<p>This post fixed an issue I wasted a few hours on last night, I should have googled earlier :(</p>
<p>Thanks for the clear and concise directions&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: some joe</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1489</link>
		<dc:creator>some joe</dc:creator>
		<pubDate>Wed, 04 Feb 2009 11:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1489</guid>
		<description>UITabBarController calls shouldAutorotateToInterfaceOrientation: on all of its child view controllers in order, breaking as soon as one returns NO.  If all your view controllers return YES for a given orientation, it will autorotate.

It seems a little limiting that the UITabBarController can&#039;t rotate to the best supported orientation when a tab button item is selected, but there it is.</description>
		<content:encoded><![CDATA[<p>UITabBarController calls shouldAutorotateToInterfaceOrientation: on all of its child view controllers in order, breaking as soon as one returns NO.  If all your view controllers return YES for a given orientation, it will autorotate.</p>
<p>It seems a little limiting that the UITabBarController can&#8217;t rotate to the best supported orientation when a tab button item is selected, but there it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Freeman</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1488</link>
		<dc:creator>Adam Freeman</dc:creator>
		<pubDate>Sat, 24 Jan 2009 01:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1488</guid>
		<description>This is yet another lame thing about the iphone sdk.  I figured that out too but only after hours of frustration.  Wish I had read this first ...</description>
		<content:encoded><![CDATA[<p>This is yet another lame thing about the iphone sdk.  I figured that out too but only after hours of frustration.  Wish I had read this first &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SamJ</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1485</link>
		<dc:creator>SamJ</dc:creator>
		<pubDate>Wed, 07 Jan 2009 17:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1485</guid>
		<description>Hi,

Thank you for the tutorial. It was really helpful. However, I am facing one problem. I have two tabs on my controller. What I did was I clicked the second tab and changed the orientation. But when I click the first tab, the orientation is still the original one. I am not able to understand why. Also, how can I catch the event when the user selects a tab? I tried applying the UITabBarDelegate protocol, set the tabbar delegate to the appdelegate class and have coded the 
-(void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item

method in the appdelegate class. But this method is not getting called.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for the tutorial. It was really helpful. However, I am facing one problem. I have two tabs on my controller. What I did was I clicked the second tab and changed the orientation. But when I click the first tab, the orientation is still the original one. I am not able to understand why. Also, how can I catch the event when the user selects a tab? I tried applying the UITabBarDelegate protocol, set the tabbar delegate to the appdelegate class and have coded the<br />
-(void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item</p>
<p>method in the appdelegate class. But this method is not getting called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arash</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1484</link>
		<dc:creator>Arash</dc:creator>
		<pubDate>Thu, 18 Dec 2008 01:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1484</guid>
		<description>@QP

Here is the Apple doc for &lt;code&gt;&lt;a href=&quot;http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/hidesBottomBarWhenPushed&quot; rel=&quot;nofollow&quot;&gt;hidesBottomBarWhenPushed&lt;/a&gt;&lt;/code&gt;.

If you would like to see it in action, I recommend looking at my &lt;a href=&quot;http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=292151014&amp;mt=8&quot; rel=&quot;nofollow&quot;&gt;Prayer Book&lt;/a&gt; app in the app store. When you select a prayer, I set &lt;code&gt;hidesBottomBarWhenPushed&lt;/code&gt; to &lt;code&gt;YES&lt;/code&gt; in my &lt;code&gt;UIViewController&lt;/code&gt; subclass&#039; &lt;code&gt;init&lt;/code&gt; method, and the tab bar disappears as expected when pushed.</description>
		<content:encoded><![CDATA[<p>@QP</p>
<p>Here is the Apple doc for <code><a href="http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/hidesBottomBarWhenPushed" rel="nofollow">hidesBottomBarWhenPushed</a></code>.</p>
<p>If you would like to see it in action, I recommend looking at my <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=292151014&#038;mt=8" rel="nofollow">Prayer Book</a> app in the app store. When you select a prayer, I set <code>hidesBottomBarWhenPushed</code> to <code>YES</code> in my <code>UIViewController</code> subclass&#8217; <code>init</code> method, and the tab bar disappears as expected when pushed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: QP</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1480</link>
		<dc:creator>QP</dc:creator>
		<pubDate>Sat, 13 Dec 2008 22:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1480</guid>
		<description>Everywhere I&#039;ve seen references the &quot;hidesBottomBarWhenPushed&quot; but as far as I can tell this is just a myth.  This value seems to only be recognized for UINavigationControllers.  No one that I&#039;ve seen has been able to demonstrate working code with UIViewControllers and UITabBarControllers.

Very frustrating and the propagation of this stock answer (no offense intended) has just complicated finding a solution.

If you (or anyone else out there) can demonstrate this working in code, then there are hundreds of threads out there that would benefit from your insight!

QP</description>
		<content:encoded><![CDATA[<p>Everywhere I&#8217;ve seen references the &#8220;hidesBottomBarWhenPushed&#8221; but as far as I can tell this is just a myth.  This value seems to only be recognized for UINavigationControllers.  No one that I&#8217;ve seen has been able to demonstrate working code with UIViewControllers and UITabBarControllers.</p>
<p>Very frustrating and the propagation of this stock answer (no offense intended) has just complicated finding a solution.</p>
<p>If you (or anyone else out there) can demonstrate this working in code, then there are hundreds of threads out there that would benefit from your insight!</p>
<p>QP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rust</title>
		<link>http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/comment-page-1/#comment-1464</link>
		<dc:creator>Rust</dc:creator>
		<pubDate>Mon, 20 Oct 2008 21:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://arashpayan.com/blog/?p=25#comment-1464</guid>
		<description>ah, wish that were true.  Some of my UITableViews get re-framed.  Others do not.  I have no idea why as they are set up with resizing masks and such.  The documentation is certainly less than stellar.  I also will add that I think some of it is wrong.  In addition, I believe the sdk platform is full of bugs.  

Thanks for this insight.  I may try to crawl down this path to accomplish what seems like such a simple, simple thing - hide the tab bar when a certain view is focused so that the user cannot navigate to the table views that refuse to resize themselves in landscape.  Grrrrrrr.   


:) I am happy..  happy happy happy.  Think happy thoughts</description>
		<content:encoded><![CDATA[<p>ah, wish that were true.  Some of my UITableViews get re-framed.  Others do not.  I have no idea why as they are set up with resizing masks and such.  The documentation is certainly less than stellar.  I also will add that I think some of it is wrong.  In addition, I believe the sdk platform is full of bugs.  </p>
<p>Thanks for this insight.  I may try to crawl down this path to accomplish what seems like such a simple, simple thing &#8211; hide the tab bar when a certain view is focused so that the user cannot navigate to the table views that refuse to resize themselves in landscape.  Grrrrrrr.   </p>
<p>:) I am happy..  happy happy happy.  Think happy thoughts</p>
]]></content:encoded>
	</item>
</channel>
</rss>
