views:

226

answers:

2

The iPhone camera toolbar is gray and has a slight gradient. I believe I could achieve the same look by setting the tintColor and/or translucency of the toolbar.

Any idea how I could make my toolbar look exactly like the camera one?

This isn't quite right... too dark:

UIToolbar *tb = [[UIToolbar alloc] initWithFrame:frame];
tb.tintColor = [UIColor grayColor];
A: 

Does setting the toolbar's barStyle property to UIBarStyleBlackTranslucent give you the effect you want?

Mark Smith
A: 

try

tb.barStyle = UIBarStyleBlack;

or

tb.barStyle = UIBarStyleBlackTranslucent;
ACBurk