I\'m trying to create a button which has some text beneath the icon (sorta like the app buttons) however it seems to be quite difficult to achieve. Any ideas how can I go ab
Something like this inside UIButton subclass
UIButton
public override func layoutSubviews() { super.layoutSubviews() imageEdgeInsets = UIEdgeInsetsMake(-10, 0, 0, 0) titleEdgeInsets = UIEdgeInsetsMake(0, -bounds.size.width/2 - 10, -30, 0) }