关于navigationController
//删除navigationController所带的侧滑(从二级界面到一级界面)
self.navigationController.interactivePopGestureRecognizer.enabled = NO;
//关于table
//选中后立即取消选中状态
[tableViewdeselectRowAtIndexPath:indexPathanimated:NO];
//给table加箭头
cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
//删除多余的分割线
[tableViewsetTableFooterView:[[UIViewalloc]initWithFrame:CGRectZero]];
//取消点击效果
cell.selectionStyle=UITableViewCellSelectionStyleNone;
网友评论