I am trying to add a gaussian blur to a layer that uses backgroundColor.
The code below adds a box around the title text and works just fine, I just want the white to be blurred.
title.layer.borderColor = UIColor.white.cgColor
title.layer.backgroundColor = UIColor.white.cgColor
title.layer.borderWidth = 4
title.layer.cornerRadius = 5
Is this possible without using an imageView?
Thanks!