Reputation: 341
i want to highlight or animate the uitableviewcell when local notification has been fired for that particular cell of the tableview. when i tap button in the local notification, it opens the application, but does not highlight the cell for which the local notification has been fired. Plz Help.
Upvotes: 1
Views: 169
Reputation: 11145
To highlight or select a row in table view use this -
[tblView selectRowAtIndexPath:[NSIndexPath indexPathForRow:rowToBeHilighted inSection:sectionOfThatRow] animated:TRUE scrollPosition:UITableViewScrollPositionNone];
and if you want a blink animation then call this method after 1 sec -
[tblView deselectRowAtIndexPath:(NSIndexPath *)indexPath animated:(BOOL)animated];
Upvotes: 1