什么是默认UITableView分隔符的UIColor? [英] What is the UIColor of the default UITableView separator?

查看:116
本文介绍了什么是默认UITableView分隔符的UIColor?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我默认的iPhone UITableView分隔符的UIColor名称或确切的RGBA吗?

Can anyone tell me the UIColor name or exact RGBA for the default iPhone UITableView separator?

它看起来像浅灰色,但它不是 [UIColor lightGrayColor] ;它比那个要轻。

It looks like a light gray color, but it's not [UIColor lightGrayColor]; it's lighter than that.

推荐答案

...就 CGContextSetRGBStrokeColor而言它应该be:

… in terms of CGContextSetRGBStrokeColor it should be:

CGContextSetRGBStrokeColor (
   CGContextRef c,
   224.0/255.0,
   224.0/255.0,
   224.0/255.0,
   CGFloat alpha
);

非常简单,希望能够解决您的问题。

Quite simple and hopefully a solution for your problem.

这篇关于什么是默认UITableView分隔符的UIColor?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆