Question

i'm trying to change color of a UIToolbar above the keyboard, but I can not recreate the color black semi transparent keyboard, i have tried this:

alertToolBar.barTintColor = [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.5f];

but this is the result:

enter image description here

Was it helpful?

Solution

alertToolBar.barStyle = UIBarStyleBlack;

That should give the iOS 7 Blur that you are looking for. Don't tint the toolbar, just set the tool bar style.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top