ios - UISearchController search result cell background color -
my uisearchcontroller displays search results in uitableviewcells background colour have not set
i can see debugging views grey colour of cell.contentview. however, doesn't react me setting
cell.contentview.backgroundcolor = [uicolor whitecolor]; in tableview:cellforrowatindexpath: method.
are there other methods override strange grey colour?
are able provide example project reproduces scenario? tableview:cellforrowatindexpath: like? if so, can more helpful in determining issue.
without knowing specifics, might worth trying set contentview's backgroundcolor in tableview:willdisplaycell:forrowatindexpath:, occurs bit later tableview:cellforrowatindexpath:
it may worth making own subclass of uitableviewcell can better control coloring of cell.

Comments
Post a Comment