UITableView / UITableViewCell challenge with transparent background on iPad with iOS7

前端 未结 4 1008
死守一世寂寞
死守一世寂寞 2021-01-03 18:25

Last night I decided to upgrade to Xcode 5 and take a look at my current project. After updating my storyboards to the new UI everything looked great and ran fine. Since I

4条回答
  •  一向
    一向 (楼主)
    2021-01-03 19:00

    If you are using a static cell table. you can do the following:

    override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
    
         cell.backgroundColor = UIColor.clearColor()
    }
    

提交回复
热议问题