I want to ask a question about UITableViewCell.
Apparently, this is what I want to achieve.
I have a page where I display one question at one time. So, when the UISegmentedController on the top right is pressed, I display another question and so on.
please see the picture attached or here: http://dl.dropbox.com/u/27303579/StackOverflow.jpg

Note that I use UITableView (Group style) to display my question. The question text is actually the Section Header.
*All the questions come from Web Service.
My question is:
What should I do when the NEXT (TOP RIGHT CORNER) button is pressed ? What can I do to refresh my page ? Do I need to reuse the current UITableView or how ?
Thanks a lot for your help guys. I hope I make myself clear. really appreciate it !
When the arrow is pressed you can update the data in whatever data structure you have that populates your table cells, and then call
[self.tableView reloadData]. This will trigger theUITableViewDataSourcefunctions again, using the data structure to repopulate your table. Of course,cellForRowAtIndexPathwill need some handling so that it knows how to draw the cells based on what data they are supposed to display.