摘要:
解决UITableview点击事件与手势的冲突 1.签手势代理 <UIGestureRecognizerDelegate> 2.是tableview点击事件则屏蔽手势 - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer 阅读全文
摘要:
#pragma mark section不悬停 static CGFloat const sectionHeight = 12.0f;//section的高度值 - (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat sect 阅读全文
摘要:
注册cell常用方法: 设置全局变量static NSString *identifier = @"videoIdentifier"; 1.viewDidLoad注册cell [self.tableView registerNib:[UINib nibWithNibName:@"VideoCell" 阅读全文