With following code, I change background color of a text. If the text does not have a special character like € or emoji, background color fits the background of the text. Do you have any idea what to do with these character to center vertically in background.
mainLabel.textAlignment = .Left
mainLabel.numberOfLines = 0
mainLabel.sizeToFit()
mainLabel.backgroundColor = UIColor(red: 0.090, green: 0.090, blue: 0.090, alpha: 0.8)
mainLabel.font = UIFont(name: "Bauhaus", size: 14)
mainLabel.textColor = UIColor(white:1, alpha:1)
mainLabel.lineBreakMode = .ByWordWrapping
mainLabel.baselineAdjustment = .AlignCenters