Share this page

by Eirik Madland     myxcode.net
Swift Version: 2.0

Here’s the code to that: // Drop shadow on image myImage.layer.masksToBounds = false myImage.layer.shadowOffset = CGSizeMake(1, 2) myImage.layer.shadowRadius = 2.0 myImage.layer.shadowColor = UIColor.blackColor().CGColor myImage.layer.shadowOpacity = 1.5 Play with the values… That’s it




© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS