3

I'm trying to add a drop shadow to an UIImageView so that the drop shadow appears at both the top and bottom of the UIImageView.

imageView.layer.shadowOffset only does one or the other.

Any ideas?

Thanks

Kamar Shad
  • 6,089
  • 1
  • 29
  • 56
Jacob Joz
  • 732
  • 1
  • 11
  • 29

1 Answers1

4

Solved it, by using the imageView.layer.shadowOffset = CGSizeMake(0,0) adds a drop shadow to top and bottom.

Kamar Shad
  • 6,089
  • 1
  • 29
  • 56
Jacob Joz
  • 732
  • 1
  • 11
  • 29