import QuartzCore yourLabel.layer.backgroundColor = UIColor.redColor().CGColor yourLabel.layer.cornerRadius = 5