开发者

get the UIButton's background image

I need your suggestions: I want to know how to set the UIButton's backgroundImage image in UIImageView.

i.e. If I touch on the button, the button's background image should be set on UIIm开发者_JS百科ageView.

Is it possible? If yes then how?


UIImage *image = self.myButton.currentBackgroundImage;

Apple Documentation for UIButton

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜