iphone - Deselecting a row in table view does not animate -
iphone - Deselecting a row in table view does not animate -
i have view controller manages table view. understanding table cell deselected automatically if force viewcontroller , pop table view.
however, in same class (that utilize few times), there 1 instance of class when cell deselected not animated (it'll turn bluish , normal without animating). why did happen? have few instances of class happens 1 of them. might causing this?
from experience cells not automatically deselected if push/pop view controller (at to the lowest degree not when using navigationcontroller), unless add together code te deselect ! may automatically deselected if doing [tableview reloaddata] in viewwill/didappear (or in process started in these methods).
did seek add together in viewdidappear ?
nsindexpath *indexpath = [tableview indexpathforselectedrow]; if (indexpath != nil) { [tableview deselectrowatindexpath:indexpath animated:yes] } iphone cocoa-touch uitableview uikit core-animation
Comments
Post a Comment