I am developing an iPhone application, in a view, I have placed UITextView and UITableView in the same ViewController. What i need to do is, after entering the data in the textview, the user will click on a button placed below. After clicking on the button, the data entered in the textview should be loaded in the tableview. But it is not working so.
Here, what i have done is, I have written the below code inside the button action,
[self.tableView reloadData];
Any suggestions much appreciated
Make sure you are updating the
NSMutableArraywith the new value, that you are using to fill data in yourUITableView.On the click of the button,