📅  最后修改于: 2022-03-11 15:00:56.211000             🧑  作者: Mango
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