问题-如何向看起来像附件的ImageView添加阴影?
到目前为止我所做的
imageView.layer.shadowColor = UIColor.gray.cgColor
imageView.layer.shadowOpacity = 0.3
imageView.layer.shadowOffset = CGSize.zero
imageView.layer.shadowRadius = 5
imageView.layer.shadowOffset = CGSize(width: 3, height: 3)
imageView.layer.masksToBounds = false
看起来不像附件。有人可以帮忙吗?