0

我可以使用 tintColor 更改 NavBar 的颜色,但这会导致 NavBar 显得“平坦”。标准 NavBar 对它们有阴影 - 有没有办法在不使用自定义图像代替 NavBar 的情况下完成这种阴影?

4

1 回答 1

3

It really depends on the tint color you're using—bright colors often drown out the subtle gradients that the standard navigation bar applies. Interface Builder is the best place to try that out; you ought to be able to find a color close to the one you're after whose shading on the navigation bar will still look good.

于 2010-07-27T21:29:14.160 回答