【发布时间】:2015-08-27 11:22:55
【问题描述】:
块引用 如何在表格末尾设置 iOS 中刷新控制器的位置。 上次数据刷新后
必须显示控制器
【问题讨论】:
-
我真的不明白你的意思。也许重写你的问题?
-
请编辑您的问题,以便清楚问题是什么。
-
什么是刷新控制器? :O
标签: ios objective-c iphone uirefreshcontrol
块引用 如何在表格末尾设置 iOS 中刷新控制器的位置。 上次数据刷新后
必须显示控制器
【问题讨论】:
标签: ios objective-c iphone uirefreshcontrol
试试这个 -
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return arrData.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
if (arrData.count==indexPath.row+1) {
//call reload method & reload tableView
}
...
}
【讨论】: