2012-01-10 51 views

回答

8

它在docs。該方法被稱爲reloadRowsAtIndexPaths:withRowAnimation:。所以你會這樣做:

NSArray *indexPaths = [NSArray arrayWithObjects: 
         [NSIndexPath indexPathForRow:5 inSection:2], 
         // Add some more index paths if you want here 
         nil]; 
[tableView reloadRowsAtIndexPaths:indexPaths withRowAnimation: UITableViewRowAnimationFade]; 
+0

是的,謝謝,快!下次嘗試文檔。 – ort11 2012-01-10 19:15:19

1

是的,有:

(void)reloadRowsAtIndexPaths:(NSArray *)indexPaths 
      withRowAnimation:(UITableViewRowAnnimation *)annimationStyle 
相關問題