I have used UITableView with default UITableViewCell.
Here i have given dark gray color in cellForRowAtIndexPath method, also set one imageView to selectedBackgroundView.
So now when i select that row, particular selected image is getting displayed, but my textColor gets changed to White from Dark Gray.
Why so?
The
UILabelis getting highlighted together with it’s master view. Change it’shighlightedTextColor, the default is white for you. For example