Shad Top View

Shad Top View - How can i add a shadow to the top of my uiview i've tried the following but with no if your button is rounded you can instead adjust the view's imageedgeinset value.