I need to change the highlight of IOS list view to red color. As of now, I followed forums and was able to set the cell.SelectionStyle to none. And the highlight does not appear when i select on a Tab. But as my final goal is still to obtain a red highlight? Any ideas how I can achieve this?
I have read forums and they said that I should subclass the UITableViewCell class in this thread How do I set UITableViewCellSelectionStyle property to some custom color? and so I tried
public void CustomUITableViewCell:UITableViewCell
{
public override virtual void SetHighlighted(bool highlighted, bool animated)
{
}
}
But the issue is when I tried, self does not have a background color property for me to set so what should I do now?