表视图部分页眉/页脚文本中使用的颜色是什么?
这种柔和的蓝灰色到处都是,我找不到一种看起来很接近的方便颜色。显然我错过了一些明显的东西......
我试图“伪造”UIView 的库存外观,这是我的 UITableView 部分页脚。还有其他人有这样的运气吗?
我的 UILabel 还需要白色阴影。
This muted blue grey color is all over the place, and I can't find a convenience color that looks even remotely close. Clearly I'm missing something obvious...
I'm trying to "fake" a stock look for a UIView that is my section footer for a UITableView. Has anyone else had any luck?
My UILabel will also need a white drop shadow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不确定 Apple 如何获取 RGB 值并将它们转换为浮点数(看起来这不是一个简单的 VALUE / 255),但是我在 Photoshop 中使用滴管时得到的值给出了相同的 RGB 值
:另一件让我大吃一惊的事情是,每个人都有不同的 RGB 值!这是怎么发生的?
I'm not sure how Apple takes the RGB values and converts them to float (it would seem it's not a simple VALUE / 255), but the values that I got which when using the eyedropper in Photoshop gave the same RGB values were:
The other piece that has blown my mind, is that everyone got different RGB values! How does that happen?
我相信使用的颜色是 [UIColor darkGrayColor]。
使用创建自定义标题。
此外,您可以在表视图委托中
I believe the color used is [UIColor darkGrayColor].
Also, you can create your custom headers using
in the table view delegate.
由于您已经拍摄了快照,因此可以使用颜色选择器来获取颜色。
Since you have already taken a snapshot, you could use a color picker to get the colors.