I really like that feeling.
and there are also some other systems color which I cannot find their API in UIColor document,
such as the default text color of the button in the nib file, etc.
so is there any way I can use them?
I mean, they are just colors, no risk ,right?
Or is there any the RGBA value that looks alike them? thanks a lot!
UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"cell"];
[[cell detailTextLabel] textColor]
textColor will just return the UIColor object of the cells detailTextLabel.
By pulling a screenshot of the simulator into Photoshop, I get the following value:
[UIColor colorWithRed:0.22 green:0.33 blue:0.55 alpha:1.0]
Looks pretty close to my eye on the device. But muffe2k's answer will always work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With