how can reset cell selections in uitableview?
use case:
i have viewcontroller uitableview. select cell , enter view controller. when come tableviewcontroller, still see selected cell. reset selection.
in:
override func tableview (tableview:uitableview, didselectrowatindexpath indexpath:nsindexpath) you following:
tableview.deselectrowatindexpath(indexpath, animated:false)
Comments
Post a Comment