For one of my application, I have added UILabel to the UITableView header section.
But I want the text color of UILabel should also be the same as what it is displayed for table’s header section (some gray shades).
How can I do this?
Thanks in advance.
I got a workaround.
From one of stack-overflow question, I got a RGB value (RGB: 76, 86, 108 with font style BOLD and size is 16) for the text color used by UITableView’s Header section. I am currently using the same for setting the text color of UILabel.
I would appreciate if one can tell me the way to know the textColor of UITableView programmatically so that the hard code RGB values will not be used.
Thank you for your support.