Basically, I try to duplicate the behavior of the iPod application on the iPhone, where when you select a song, the music player is displayed and the navigation bar changes to a new color.
My application is configured as a tab-based application, with a UITabBarController and a nested UINavigationController on each tab. Inside each UINavigationController for each tab is a UITableView. When I select an item in the table, I use pushViewController to go to the next view, and I set hidesBottomBarWhenPushed in the next view controller to shift the tabs. The behavior is very close to the iPod page "Now Playing", which is almost perfect.
The last problem is that I cannot change the color of the navigation bar, for example, how the navigation bar in the iPod app disappears from blue to black. I can force the color change after a new view appears (in viewWillAppear ), but the change is sharp and does not mimic the behavior of the iPod application with a fade effect.
Does anyone know what I'm missing here? This seems like a very simple and common user interface that I have seen in several applications, but there seems to be no obvious way to do this.
source share