This is the easiest solution I found for this:
Swift 4
class CustomLabel: UILabel{
override func drawText(in rect: CGRect) {
super.drawText(in: rect.inset(by: UIEdgeInsets.init(top: 10, left: 10, bottom: 10, right: 10)))
}
}
Make sure you set your labels to the CustomLabel
class in code as well as in storyboard.