标签:style class 数据 string set line
客户端:删除一条,索引不变,
服务器:向上弹出一条,然后实时查询,就错过了一条,
count = 1,pageindex = pageindex * count,代表第几页,请求的是第 几条数据,也可以根据 数组里面有几条数据 就选择加载几条数据,
if (isLoadOne) {
[params setObject:@"1" forKey:@"count"];
[params setObject:[NSString stringWithFormat:@"%d",(pageIndex *2)] forKey:@"pageIndex"];
}else{
[params setObject:@"2" forKey:@"count"];
[params setObject:[NSString stringWithFormat:@"%d",pageIndex] forKey:@"pageIndex"];
}
标签:style class 数据 string set line
原文地址:http://www.cnblogs.com/guligei/p/3772090.html