Last active
September 28, 2018 22:59
-
-
Save cumanzor/d7cfe4cb64fb2e53c00f76d585d8fdc5 to your computer and use it in GitHub Desktop.
UITableView transparent background #ios #swift #uikit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | |
let cell = tableView.dequeueReusableCell(withIdentifier: "CustomCell", for: indexPath) | |
cell.backgroundColor = .clear | |
cell.backgroundView = UIView() | |
cell.selectedBackgroundView = UIView() | |
return cell | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment