开发者

uitableview delegate methods are not called

I've got the problem that tableview methods are not called th开发者_高级运维e first time the tableview is shown. If I switch back to the previous view, and then click the button to show the tableview again, the methods are called this time.

I should say that I show an actionsheet while the tableview is loading. The actionsheet I call in the ViewWillAppear method.


i fixed it by adding [self.tableView reloadData] after dismissing the actionsheet. i don't know if it's the proper way, but it somehow works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜