
tableView
TT不觉
今天天气不错
展开
-
去除 UItableview headerview黏性(sticky)
//去掉UItableview headerview黏性(sticky)- (void)scrollViewDidScroll:(UIScrollView *)scrollView { if (scrollView == self.tableView) { CGFloat sectionHeaderHeight = 49; //这里是headV原创 2016-06-15 10:20:12 · 380 阅读 · 0 评论 -
UItableView 全局刷新,cell刷新,section刷新
1. //tableVIew全局刷新 [self.tableView reloadData]; 2. //一个section刷新 NSIndexSet *indexSet=[[NSIndexSetalloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAn原创 2016-06-15 10:16:14 · 509 阅读 · 0 评论 -
iOS跳转延迟,跳转隐藏tabbar
dispatch_async(dispatch_get_main_queue(), ^{ DDLogInfo(@"我的收藏"); self.hidesBottomBarWhenPushed=YES; CollectionViewController * collVc=[[CollectionViewCo原创 2016-06-15 10:10:54 · 914 阅读 · 0 评论 -
iOS,scrollview手势冲突
/** * 1. **手势冲突** tableviewcell可以触发点击,同时tableview的父视图有点击识别,这样点击的时候就会产生冲突。解决方法在GestureRecgnizer代理方法里面区分手势。 */ #pragma mark tapGestureRecgnizerdelegate 解决手势冲突 -原创 2016-06-15 10:06:32 · 4947 阅读 · 0 评论 -
tableView 加载cell xib文件
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { FindTableViewCell *cell; if (!cell) { [tableView registerNib:[UINib原创 2016-06-15 09:57:57 · 637 阅读 · 0 评论