Methods to draw inner shadow on UIView
inner shadow on bottom and left
- copy UIViewExtension.swift into your project
- use the method addInnerShadow:onSide:shadowColor:shadowSize:cornerRadius:shadowOpacity: on your target UIView
This demo project is released under the MIT license. See LICENSE for details.