<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pragmatic Forums | Posts in topic 'Transitioning UINavigationBar colors?'</title>
    <link>/forums/83/topics/2235.rss</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Transitioning UINavigationBar colors? posted by Steve Simitzis @ Sat, 14 Mar 2009 03:17:09 +0000</title>
      <description>&lt;p&gt;I&amp;#8217;m basically trying to duplicate the behavior of the iPod app on the iPhone, where when you select a song, the music player view slides in, and the navigation bar transitions to a new color.&lt;/p&gt;


	&lt;p&gt;My app is set up as a tabbed based application, with UITabBarController and a nested UINavigationController in each tab. Inside each UINavigationController for each tab is a UITableView. When I select an item in the table, I&amp;#8217;m using pushViewController to slide to the next view, and I&amp;#8217;ve set hidesBottomBarWhenPushed in the next view controller in order to slide the tabs away. The behavior is very close to the iPod &amp;#8220;Now Playing&amp;#8221; page, which is nearly perfect.&lt;/p&gt;


	&lt;p&gt;The final problem is that I&amp;#8217;m unable to transition the color of the navigation bar, like how the navigation bar in the iPod app fades from blue to black. I&amp;#8217;m able to force the color change after the new view appears (in viewWillAppear), but the change is abrupt and does not mimic the behavior of the iPod app, with a fade effect.&lt;/p&gt;


	&lt;p&gt;Does anyone know what I&amp;#8217;m missing here? It seems like a very simple and common UI that I&amp;#8217;ve seen in several applications, but there doesn&amp;#8217;t appear to be an obvious way to do it.&lt;/p&gt;</description>
      <pubDate>Sat, 14 Mar 2009 03:17:09 +0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:83:2235:8969</guid>
      <author>Steve Simitzis</author>
      <link>http://forums.pragprog.com/forums/83/topics/2235</link>
    </item>
  </channel>
</rss>
