Reputation: 10984
How to set image as a background on a button programmatically?
Upvotes: 0
Views: 339
Reputation: 171774
button.backgroundImage = [UIImage imageNamed:@"myImage"];
Upvotes: 1