tableview scrollViewDidScroll函数中有一段 即 滑动tableview时触发的函数 : 会将全部显示的cell又一次刷新(刷新函数中调用了自己定义的tableCellAtIndex) ////// for (unsigned int i=startIdx; i <= en ...
分类:
其他好文 时间:
2016-04-08 11:54:43
阅读次数:
320
//滑动过程中 - (void)scrollViewDidScroll:(UIScrollView *)scrollView { // NSLog(@"000 %ld",ysetoLoad); UICollectionView *ta = (UICollectionView *)scrollView ...
分类:
其他好文 时间:
2016-03-31 12:25:47
阅读次数:
135
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGPoint contentOffsetPoint = self.tableView.contentOffset; if (contentOffsetPoint.y > 0) { ba ...
分类:
移动开发 时间:
2016-03-31 10:49:20
阅读次数:
156
在网上找到的方法 // 去掉UItableview headerview黏性(sticky) - (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat sectionHeaderHeight = 40; if (scrollVi
分类:
其他好文 时间:
2016-02-26 23:20:51
阅读次数:
285
-(void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat sectionHeaderHeight = 20; if (scrollView.contentOffset.y <= sectionHeaderHeight&&scrol
分类:
其他好文 时间:
2016-02-05 18:50:32
阅读次数:
148
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { CGFloat sectionHeaderHeight = 40; if (scrollView.contentOffset.y<=sectionHeaderHeight&&scroll
分类:
其他好文 时间:
2016-01-29 21:06:22
阅读次数:
181
//正在滚动 -(void)scrollViewDidScroll:(UIScrollView *)scrollView{ float offset_Y = scrollView.contentOffset.y; NSLog(@"%f",scrollView.contentOffset.y); UI
分类:
移动开发 时间:
2016-01-29 21:02:33
阅读次数:
277
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{ [self.navigationController.navigationBar setBackgroundImage:[self imageWithBgColor:[UIColor col...
分类:
移动开发 时间:
2016-01-25 11:33:14
阅读次数:
251
2.0发布了(点这里下载)。这个大版增加了UGC功能和任务体系,开了发近两个月,碰到的问题也是最多的。下拉刷新失效。当UITableView、UICollectionView不够一页的时候,下拉的时候都不会触发UIScrollVIew的scrollViewDidScroll代理方法。由于下拉刷新控件基于scrollViewDidScroll代理方法来实现。所以在创建UITableView、UICo...
分类:
其他好文 时间:
2015-11-19 11:26:25
阅读次数:
235
1.scroll view did scroll问题:*** -[DetailPageViewController scrollViewDidScroll:]: message sent to deallocated instance 0x19a13c90原因:viewController释放之后,...
分类:
其他好文 时间:
2015-11-12 13:16:37
阅读次数:
331