darksky
darksky

Reputation: 21039

Dark Black & Opaque UIToolbar

I am trying to create a UIToolbar which is dark black (real black as opposed to UIToolbar's "black"), that is slightly transparent or opaque. Below is a screenshot of the exact colour/opacity that I want it to be. Its the black overlay on top of the burger image.

I tried setting the colour, setting alpha, opaque property, translucent and nothing is working. Any suggestions?

Toolbar needed

Upvotes: 0

Views: 413

Answers (1)

user1078170
user1078170

Reputation:

Just make a png that is the color and opacity you want, add it to your project, and [myToolbar setBackgroundImage:thatImage];

Oops actually I think the method is setBackgroundImage:forToolbarPosition:barMetrics:

Upvotes: 1

Related Questions