Open sicaboy opened 4 years ago
Because the default background of UIView is black, which makes the shadow invisible.
A very quick fix is to create a named color then set option as follows:
let options = [ .blackOverlayColor(UIColor(named: "the_color_name_with_opacity")), ...
Because the default background of UIView is black, which makes the shadow invisible.