标签: iphone objective-c
如何以编程方式将图像设置为按钮的背景?
答案 0 :(得分:1)
button.backgroundImage = [UIImage imageNamed:@"myImage"];