摘要: 条件一:全局变量 CGFloat _scrollviewBeginSet; CGFloat _scrollviewDidSet; 条件二:代理方法 - (void)scrollViewWillBeginDecelerating:(UIScrollView *)scrollView { _scroll 阅读全文
posted @ 2015-11-10 17:16 一二三开花 阅读(465) 评论(0) 推荐(0)
摘要: 条件一: [self.view insertSubview:_imgView belowSubview:_tableView]; 条件二: static NSString *cellId = @"cell1"; cell = [tableView dequeueReusableCellWithIde 阅读全文
posted @ 2015-11-10 17:11 一二三开花 阅读(326) 评论(0) 推荐(0)
摘要: /////继承自 scrollView且遵守 scrollView代理方法 -(instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) { self.bounces = NO; self.i 阅读全文
posted @ 2015-11-10 17:03 一二三开花 阅读(168) 评论(0) 推荐(0)