This is what I used in my case, which practically matches with another answer, but with the code:
myImage.layer.shadowColor = [UIColor whiteColor].CGColor; myImage.layer.shadowRadius = 4.0f; myImage.layer.shadowOpacity = .9; myImage.layer.shadowOffset = CGSizeZero; myImage.layer.masksToBounds = NO;
Taken from here
source share