我正在尝试从 iOS6 上的
我该怎么做?navigationBar
顶部移除白色渐变。
最佳答案
您是否尝试过在导航栏上设置背景图片?
尝试使用 setBackgroundImage:forBarMetrics: 并设置没有渐变的图像。
也许使用这个问题的答案中的代码来创建纯色图像:
How to create a colored 1x1 UIImage on the iPhone dynamically?
关于ios - 从 iOS 6 的导航栏中移除白色渐变,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21048230/