简体   繁体   中英

How to update the data in UITableView?

I want to ask a question about the objective-C and iPhone application. I am writing a program which contains a UITableView *. In the view, it has 1 table section which is 2 rows. Both of the row display a int. In the same page, it has a button. after the user press the button, both of the int will be updated. However, I found that both of the int in the table don't update. Can anyone help me? Thank you.

Call [UITableView reloadData]; to reload the table.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM