UITextField的默认Placeholder颜色

色值为

1
2
3
4
R:0
G:0
B:0.0980392
A:0.22

查看方式

1
2
3
NSRange range = NSMakeRange(0, 1);
NSDictionary *dict = [someTextField.attributedPlaceholder attributesAtIndex:0 effectiveRange:&range];
NSLog(@"%@", [dict objectForKey:NSForegroundColorAttributeName]);