SyntaxFix
Write A Post
Hire A Developer
Questions
This works for me (Swift 3 and 4)
yourView.layer.shadowColor = UIColor.gray.cgColor yourView.layer.shadowOpacity = 0.3 yourView.layer.shadowOffset = CGSize.zero yourView.layer.shadowRadius = 6