关闭。这个问题需要detailsorclarity.它目前不接受答案。想改进这个问题吗?通过editingthispost添加细节并澄清问题.关闭8年前。Improvethisquestion在我的xcode中我有一个动态的uiviewUIView*gaping=[[UIViewalloc]initWithFrame:CGRectMake(15,0,172,39)];gaping.backgroundColor=[UIColorredColor];我需要动态改变背景颜色。-(UITableViewCell*)tableView:(UITableView*)tableViewcellFo