I'm trying to add text to the bottom of my image but the setImage is hiding my text.
Top1.setImage(UIImage(named: "DefaultPic.jpg"), forState: UIControlState.Normal)
Top1.setTitle("#1", forState: UIControlState.Normal)
Top1.imageEdgeInsets = UIEdgeInsetsMake(0, 0, 10, 0);
Top1.titleEdgeInsets = UIEdgeInsetsMake(20, 0, 0, 0);
I can't use background image because I want the text and image to have a minor gap between them without having to use a seperate UILabel