How to change label color inside table cell with swift 3?
问题 I put label inside table cell. I changed the text color into "White" in Attributes inspector. I also changed the label background color into "Green". When I run the app, the text color does not change into white color but background changed to green. I also put the code. cell.lblName.textColor = UIColor.white I declare this @IBOutlet weak var lblAllowAutoRenew: UILabel! in MediaPackListCell.swift file. In TableView.swift , func tableView(_ tableView: UITableView, cellForRowAt indexPath: