ios - UIAppearance with UITableViewCell selectedBackgroundView -
in header uitableviewcell
, selectedbackgroundview
, backgroundcolor
not labelled ui_appearance_selector
, following code works:
uitableviewcell *cellappearance = [uitableviewcell appearance]; cellappearance.backgroundcolor = kcellbackgroundcolor; uiview *selectedview = [uiview new]; selectedview.backgroundcolor = kmainprimarycolor; cellappearance.selectedbackgroundview = selectedview;
the background colors of cells , selected animation modified of tables. ideas why works? know if properties on other objects work when not marked ui_appearance_selector
.
Comments
Post a Comment