objective c - Setting custom color on UINavaigationBar -
is possible set color of uinavigationbar particular opacity , alpha? i've tried lot things, still can't want. color 7, 4, 43 rgb , 0,4 opacity , alpha.
i think should work you:
[navigationbar setbartintcolor:[uicolor colorwithred:7.0/255.0 green:4.0/255.0 blue:43.0/255.0 alpha:0.4]];
and in swift:
navigationbar.bartintcolor = uicolor(red: 7.0, green: 4.0, blue: 43.0, alpha: 0.4)
Comments
Post a Comment