I'm looking to create a shadow-like-gradient in my UIImageView
like how it is in Flipboard.
An example of it is a picture in the this image
As you can see on the right iPhone, there is a darker gradient at the top and bottom. This is so that if the picture is white, the white text can still be seen.
Anybody have any suggestions on how I can implement this? I am new to iOS development thus clueless about this. Thanks!