I'm trying to replicate the frosted glass look in the tableview at the bottom.
I tried the methods described here and here but none of them seems to work now. Because this is the result I get.
Here is my code.
tableView.backgroundColor = .clear
let blurView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
tableView.backgroundView = blurView
I tested on both a simulator and a device running iOS 12.1 but the issue is present in both.
What am I missing here?