1:如果想让tabview可以滑动,cell不相应用户的点击。

需要在 

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

   

    ExpenseViewCell *cell =[tableView dequeueReusableCellWithIdentifier:reuseItemIdentifier forIndexPath:indexPath];

    cell.userInteractionEnabled = NO;//设置关闭用户交互

 

    return cell;

}

 

posted on 2016-01-26 11:42  i兮兮  阅读(374)  评论(0编辑  收藏  举报