开发者

Change cell button image on click

开发者 https://www.devze.com 2023-02-07 17:38 出处:网络
i am adding button as subview, when user hit on the button, i want to change the button image of that cell which 1 is cli开发者_Go百科ck.....?Im not sure i understand your question...but u can try sav

i am adding button as subview, when user hit on the button, i want to change the button image of that cell which 1 is cli开发者_Go百科ck.....?


Im not sure i understand your question...but u can try save IndexPath.row in your button's tag, and then in the (IBAction) cast (id) sender to UIButton * and use that tag...
edit: Wait, what do u mean by "cell"? is it UITableVIew or just button?:S

0

精彩评论

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