Set Shadow on Bottom UIView only : <p>I want to create bottom only shadow on UIView. Right now with this function, will create shadow in top, bottom, left, and right.</p>

<pre><code>func setCardView(view : UIView){
    view.layer.masksToBounds = false
    view.layer.shadowOffset = CGSize(width: 0, height: 0)
    view.layer.shadowRadius = 2
    view.layer.shadowOpacity = 0.5
}
</code></pre>

<p>Is there anyway to only create shadow in the bottom?
Any help would be appreciated. Thank you!</p>
