2017-03-09 69 views

回答

0
Cell.contentView.backgroundColor = UIColor.redColor() // Your Color 
+0

将它添加到我的ViewDidLoad()? –

+0

不能在这个方法:func tableView(tableView:UITableView,cellForRowAtIndexPath indexPath:NSIndexPath) - > UITableViewCell {} –

+0

您是否实现了tableview委托和数据源方法? –