我添加了一些從.net Web服務器獲取的圖像和消息。如何在平滑滾動的情況下向UItableview添加新行
我每3秒刷新一次數據。
3秒後,我收到新消息。我需要在UITableview的頂部添加這些消息和圖像。
喜歡在twitter中添加消息,google realtime。
對於那裏我發現insertRowsAtIndexPaths:withRowAnimation:而不是重新加載表視圖。
但我不明白我該如何使用此insertRowsAtIndexPaths:withRowAnimation:方法。
如果它是正確的任何人請其他明智的請張貼一些代碼,請爲此提出更好的方法。
謝謝你提前。
使用insertRowsAtIndexPaths:withRowAnimation從UITableView – Jhaliya 2011-04-20 10:57:25