I would like to give shadow effect like card similar to the image in my iOS app
I need this on UITableViewCell the image will not work for me also the the g
Maybe someone needs Swift version
func setCardView(view : UIView){ view.layer.masksToBounds = false view.layer.shadowOffset = CGSizeMake(0, 0); view.layer.cornerRadius = 1; view.layer.shadowRadius = 1; view.layer.shadowOpacity = 0.5; }