Recently I was implementing a view where the last cell of a table view needed a drop shadow.
The idea of the implementation was to use the shadow properties on the table cell’s Core Animation layer to render our drop shadow.
(cell references the last cell of the table view)
The shadow path is set for performance reasons, by setting it you remove the need to blur the layers underneath the table view cell.
You can change the drop shadow style by messing around with it’s properties, perhaps decreasing the opacity to have a lighter shadow, increasing the radius to have a longer shadow, etc.