Answers for "add box shadow in uicollectionview"

1

add box shadow in uicollectionview

myCollection.layer.shadowColor = UIColor.blackColor().CGColor
myCollection.layer.shadowOffset = CGSizeMake(0, 1)
myCollection.layer.shadowOpacity = 1
myCollection.layer.shadowRadius = 1.0
myCollection.clipsToBounds = false
myCollection.layer.masksToBounds = false
Posted by: Guest on August-14-2020

Browse Popular Code Answers by Language