Saturday, 15 June 2013

objective c - How to I style a UIToolbar to look like the standard iPhone camera toolbar? -


The iPhone camera toolbar is gray and slightly sloping. I believe I have to tinker the toolbar and / or reciprocity I can get the same look by setting up.

Any ideas how can I look at my toolbar just like a camera?

This is not quite right ... it is very dark:

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

Try

  tb.barStyle = UIBarStyleBlack ;  

or

  tb.barStyle = UIBarStyleBlackTranslucent;  

No comments:

Post a Comment