<?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: Working with Orientation Changes on the iPhone</title>
	<atom:link href="http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/</link>
	<description>Musings from a busy mind</description>
	<lastBuildDate>Wed, 27 Jan 2010 17:23:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Gaylord</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-189</link>
		<dc:creator>Michael Gaylord</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-189</guid>
		<description>Hi Scott,

Apologies for the belated reply. I have since had some issues using the method I described in that blog post with iPhone OS 3.0 but you can find more information in one of my questions on &lt;a href=&quot;http://stackoverflow.com/questions/1585688/view-controller-being-sent-a-message-even-though-it-has-been-deallocated&quot; rel=&quot;nofollow&quot;&gt;www.stackoverflow.com&lt;/a&gt;.

You can register your controller to listen for device orientation changes and then move your views accordingly which is probably the best way of going about doing what you want to do.

Hope that helps and if you have already found a method of doing it, it would be great to hear about it.</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>Apologies for the belated reply. I have since had some issues using the method I described in that blog post with iPhone OS 3.0 but you can find more information in one of my questions on <a href="http://stackoverflow.com/questions/1585688/view-controller-being-sent-a-message-even-though-it-has-been-deallocated" rel="nofollow">http://www.stackoverflow.com</a>.</p>
<p>You can register your controller to listen for device orientation changes and then move your views accordingly which is probably the best way of going about doing what you want to do.</p>
<p>Hope that helps and if you have already found a method of doing it, it would be great to hear about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Lahteine</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-134</link>
		<dc:creator>Scott Lahteine</dc:creator>
		<pubDate>Mon, 09 Nov 2009 03:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-134</guid>
		<description>I&#039;ve been having trouble finding an example that handles what I want to do, and unsure if using the auto rotation feature is even the proper way to handle it. Basically, I want to leave everything in my interface right where it is, but rotate all the buttons in-place so they always appear right-side-up.

Do you think it would it be better for me to just write my own test in the accelerometer delegate method in my app delegate, or should I go ahead and handle this in my view controller(s)?

I guess it comes down to whether shouldAutorotateToInterfaceOrientation is called every time the device rotates, or just at the initialization of the view.

Thoughts?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been having trouble finding an example that handles what I want to do, and unsure if using the auto rotation feature is even the proper way to handle it. Basically, I want to leave everything in my interface right where it is, but rotate all the buttons in-place so they always appear right-side-up.</p>
<p>Do you think it would it be better for me to just write my own test in the accelerometer delegate method in my app delegate, or should I go ahead and handle this in my view controller(s)?</p>
<p>I guess it comes down to whether shouldAutorotateToInterfaceOrientation is called every time the device rotates, or just at the initialization of the view.</p>
<p>Thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Gaylord</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-42</link>
		<dc:creator>Michael Gaylord</dc:creator>
		<pubDate>Thu, 07 May 2009 20:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-42</guid>
		<description>Oops. Typo. MPI should be M_PI. Just corrected it.</description>
		<content:encoded><![CDATA[<p>Oops. Typo. MPI should be M_PI. Just corrected it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charles</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-41</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Thu, 07 May 2009 19:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-41</guid>
		<description>MPI is undeclared. Can you clarify what MPI is?</description>
		<content:encoded><![CDATA[<p>MPI is undeclared. Can you clarify what MPI is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Gaylord</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-40</link>
		<dc:creator>Michael Gaylord</dc:creator>
		<pubDate>Thu, 07 May 2009 07:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-40</guid>
		<description>I found using the shouldRotateToInterfaceOrientation method a better place to load the view controllers because it makes sure the view controller is loaded before any orientation changes happen. I accidentally left out the line return YES at the end of the method. Thanks for that.</description>
		<content:encoded><![CDATA[<p>I found using the shouldRotateToInterfaceOrientation method a better place to load the view controllers because it makes sure the view controller is loaded before any orientation changes happen. I accidentally left out the line return YES at the end of the method. Thanks for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cafebabe</title>
		<link>http://www.bytesizecreations.com/2009/05/working-with-orientation-changes-on/comment-page-1/#comment-39</link>
		<dc:creator>cafebabe</dc:creator>
		<pubDate>Wed, 06 May 2009 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.42restaurants.com/byte/?p=49#comment-39</guid>
		<description>In step 2 your code for shouldAutorotateToInterfaceOrientation: doesn&#039;t return a BOOL, and seems more like the code you&#039;d put in will/didRotateToInterfaceOrientation. Is this a typo?</description>
		<content:encoded><![CDATA[<p>In step 2 your code for shouldAutorotateToInterfaceOrientation: doesn&#8217;t return a BOOL, and seems more like the code you&#8217;d put in will/didRotateToInterfaceOrientation. Is this a typo?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
