What is the best way to create a shadow behind a UIImageView
There’s a better and easier way to do this. UIImageView inherits from UIView so it has a layer property. You can access the layer’s shadow properties and bam, you got a shadow. If you have the UIImageView as an IBOutlet to a nib file, you can just implement the awakeFromNib e.g. Objective-C – (void)awakeFromNib { … Read more