Alex Rivera | Logout

Couldn't UIToolBar be transparent?

Asked 2010-03-18T09:58:11.073
23

I try the following code, but it doesn't work.

[helloToolbar setBackgroundColor:[UIColor clearColor]];
Edit
Report

1 Answer

15

The best you can do is using

[helloToolbar setBarStyle:UIBarStyleBlack];
[helloToolbar setTranslucent:YES];

This will get you a black but translucent toolbar.

answered 2010-03-20T02:57:11.217

Your Answer