I want to Change the accessory type of all the cells of UITableView on click the bar button item.Is there any idea or code for this.
Just take an flag (a bool or something) and call reloadData on your table view. And in cellForRowAtIndexPath test for your flag and put any accessory you want.