Reloading UITableView based on settings in an iOS app?

Why not just say self. TableView reloadData? That should do it?

What's wrong with self. TableView reloadData? And, if you want your self.

TableView reloadRowsAtIndexPaths:menuList withRowAnimation:true; to work, you should give it an array with indexPathes not the array containing all the data.

I have a UITableView which holds Contacts (basically just a list of people). At the top of the UIViewController where that UITableView is, I have a button to add a new contact. When adding a new contact, a user presses a button "Done" to add that contact.

I dismiss the view (which then makes the original view that has the UITableView in it show up) and attempt to reload the table to add the new contact. The new contact is added in the list of rows (an NSMutableArray), but it does not get refreshed when I call "reloadData" and the table won't update. How and when can I update the UITableView to add the new contact?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions