whats the best way to refresh data in a UITableView, lets say data is populated at start-up then this data changes, how could i refresh the data, every 30 seconds or give the option of the user to refresh the data.
i can populate data but unsure on how to update the data when it has been put in the UITableView.
Use timer
NSTimerto update youUITabelViewafter each 30 second.Use
NSTimerAfter each 30.0 second , iOS will call the below function
Make
isStopUdatingas class member just likeUITabelViewinstance : if you want to discontinue of updating table then setisStopUdatingwith YES,