views:

93

answers:

2

Hi... i am new to iPhone Programming ...can anybody help me out please..

i want to develop an app like photo app in iPhone..

How to make the naveigation bar and toolbar transparent and fadeout like in photo app in iPhone

Thank u ..

+2  A: 

UINavigationBar inherits from UIView, so you can use UIView's animation methods to fade it out by setting the alpha property to 0. This should work:

[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
[navigationBar setAlpha:0.0];
[UIView commitAnimations];
macatomy
Thank u.... its worked Macatomy..
rockey
+2  A: 

To make the bar transparent, using setBarStyle: using the UIBarStyleBlackTransparent.

To hide the bar with fade animation, use the code snippet Macatomy posted.

Jasarien