首页 > 代码库 > How do I get an image from an UIButton? 如何获取uibutton设置的uiimage

How do I get an image from an UIButton? 如何获取uibutton设置的uiimage

UIImage*img =[button imageForState:UIControlStateNormal];