Creating a shadow for a UIImageView that has rounded corners?

前端 未结 5 1411
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 14:17

I am trying to create an ImageView that has rounded corners and a shadow to give it some depth. I was able to create a shadow for the UIImageView,

5条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 15:08

    You can use a simple class I have created to add image with rounded corners and shadow directly from Storyboard

    You can find the class here

提交回复
热议问题