Shishir.bobby
Shishir.bobby

Reputation: 10984

How to set image as a background on a button programmatically?

How to set image as a background on a button programmatically?

Upvotes: 0

Views: 339

Answers (1)

Philippe Leybaert
Philippe Leybaert

Reputation: 171774

button.backgroundImage = [UIImage imageNamed:@"myImage"];

Upvotes: 1

Related Questions