How to get shadow for UIImage in iOS using objective C <p><a href="https://i.stack.imgur.com/cu2rP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cu2rP.jpg" alt="enter image description here"></a></p> <p>As can be seen in the image above there is a black shadow at the bottom of the image. I want similar effect in table view.( I want shadow for every line or the seperator between the table view cells.) The shadow effect should be more on the center as can be seen above and it should fade at its extremes.. Kindly help..</p>