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
精彩评论