Why does my UIButton.titleLabel.text disappear when I place an image in the button?
- by nickthedude
I've had this problem before but was able to work around it until now, Basically I'm creating a custom UIbutton setting its image as a uiimage and then the button that has had a label until I implimented the below code now loses its label. I need that label because it is set programatically in code that follows.
NSString *imageName = [NSString…