散々既出ですが、UITableViewCellを透過しようとしてハマったのでメモ。
iPhoneシミュレータやiPhoneではStoryboardだけで透過されたが、
少なくともiPadシミュレータでは透過されなかった。iPad実機は未検証。
MyTableViewController.swift
class MyTableViewController: UITableViewController {
override func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell, forRowAtIndexPath indexPath: NSIndexPath) {
cell.backgroundColor = .clearColor()
}
}
もちろん、cellForRowAtIndexPathの中で透過処理しても良いが、ここで一括処理するのが吉。