tag values of buttons are changing everytime when scrolling table view <p>I have created a table view and added buttons dynamically to the cells using FOR loop. I have set the tags also. But the problem is the tag values of the buttons are changing when i scroll the table view.</p> <p>Can someone please tell me how to rectify this problem.</p>