开发者

How to update the data in UITableView?

开发者 https://www.devze.com 2023-01-14 14:32 出处:网络
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 o

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消