iOS开发之 -- 判断tableview/scrollview的滑动方法,及导航栏渐变的实现代码
开发的过程中,肯定会用到在视图想上滑动的时候,在导航处做一些操作,比如向上滑动的时候,做个动画,出现一个搜索框,或者其他的操作,那么我们怎么来判断它的滑动方向呢?
首先我们应该知道tableview继承与UIScrollview,如下图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsIAAAA8CAYAAABsFdyZAAAKo2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdQU9kax8+9N73QAqFD6E2QXqXXUKRXGyGBEEoMgaBiRxYVWFFERMACshRRcFXqWhBRLCyCvS/IIqKuiwUbKnuBR3j73rz35v1nvjm/+e653/nuyTkz/wBAucwSCFJgKQBS+RnCEG83RlR0DAM/BBAgBeQBDExY7HSBa1CQP0A1N/5dH+4AaHq8aTxd69+f/1dJc+LT2QBAQSjHcdLZqSifQuM4WyDMAADhoHmtVRmCad6GsqwQbRDlimnmzvLxaY6b5e6ZOWEh7ijfA4BAYbGEXADIv6N5Riabi9ahYFA25XN4fJQtUXZiJ7LQdSjoM7AgNXXlNB9CWT/un+pw/1YzTlyTxeKKefZbZkTw4KULUlhr/s/t+N9KTRHNraGJBiVR6BMyvR66Z3XJK/3EzI9bHDjHPM5sT9OcKPIJn2N2unvMHHNYHn5zLEoOd51jlnD+XV4GM2yOhStDxPX5KYv9xfXjmWKOT/cMneMEnhdzjrMSwyLnOJMXsXiO05ND/ebnuIvzQlGIuOcEoZf4G1PT53tjs+bXykgM85nvIUrcDyfew1Oc54eL5wsy3MQ1BSlB8/2neIvz6Zmh4ncz0AM2x0ks36D5OkHi/QE8EABYgJ0Rv3r6XAH3lYI1Qh43MYPhit6SeAaTzzZZwDA3NbMBYPrOzf6k7+gzdwmiX53PpXUCYJeHJrnzOZYWAO3PAKB9mM9pvUWPw04AzvSzRcLM2dz0UQdYQAKSQBYoAjWgBfSBMTAH1sABuABP4AsCQRiIBssBGySCVCAEq8A6sBnkgnywE+wBZeAgOAzqwDFwArSC0+A8uAS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R8FLexBXT9inw/t5K8/TQVWei5S1g7CN9lLW6UIiMG2isEr82XHnItqg5Qyyv9Tl5tPf3M4WpkIfpytDxh/KBXJmcKLpY8Vs6ePMBKfFBJgAE2ACzwCBB6cWIf4rmp3weA1ONAiUs59sr7NoMm36AVo0bP8MlEB/Fh+rIiysKi/Ip2E5nc6YNrvW/SakM/hT4fm8leepgCpmopRGJ4plwnxARWdMi+JMH2Hko6LEf95H+LvWAhrN1uVMTMweYSROl0T2YwJMgAkwASZQkwRkyD1FCwaPR6OQZjeNLJuh/mBarOjxbCvBAqEKirAxTcfqcvXq1cNdWqzCjgkwASbABJgAE2ACTIAJPA8E9BjBPQ9F4zIwASbABJgAE2ACTIAJMAH9BFgR1s+GrzABJsAEmAATYAJMgAk8xwRYEX6Oby4XjQkwASbABJgAE2ACTEA/AVaE9bPhK0yACTABJsAEmAATYALPMQFWhJ/jm8tFYwJMgAkwASbABJgAE9BPgBVh/Wz4ChNgAkyACTABJsAEmMBzTIAV4ef45nLRmAATYAJMgAkwASbABPQTYEVYPxu+wgSYABNgAkyACTABJvAcE2BF+Dm+uVw0JsAEmAATYAJMgAkwAf0EWBHWz4avMAEmwASYABNgAkyACTzHBFgRfo5vLheNCTABJsAEmAATYAJMQD8BVoT1s+ErTIAJMAEmwASYABNgAs8xAVaEn+Oby0VjAkyACTABJsAEmAAT0E/g/wF+TNgG9WiawgAAAABJRU5ErkJggg==" alt="" />
那么我们可以使用他的父类的方法,代码如下:
-(void)scrollViewDidScroll:(UIScrollView *)scrollView
{
if (scrollView.contentOffset.y > ) {
NSLog(@"向上滚动");
self.title = @"京杭大运河";
self.navigationController.navigationBarHidden = YES;
}else
{
NSLog(@"向下滚动");
self.title = @"清明上河图";
self.navigationController.navigationBarHidden = NO;
} self.oldSet = scrollView.contentOffset.y;//讲当前偏移量变成缓存位移
}
self.oldSet的话,每次记录一个偏移量,可以存储到本地,然后每次进来的时候,就可以让界面处在上一次退出的位置,也可以进行一些其他的操作,想隐藏什么,都可以在这里操作! 导航栏渐变的实现代码,其实很简单:
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
CGFloat minAlphaOffset = -;//- 64;
CGFloat maxAlphaOffset = ;
CGFloat offset = scrollView.contentOffset.y;
CGFloat alpha = (offset - minAlphaOffset) / (maxAlphaOffset - minAlphaOffset);
self.nav.backgroundColor = [[UIColor whiteColor]colorWithAlphaComponent:alpha];
}
实现此代理方法即可,渐变的颜色,可以自己相应调整.
iOS开发之 -- 判断tableview/scrollview的滑动方法,及导航栏渐变的实现代码的更多相关文章
- iOS开发 横向分页样式 可左右滑动或点击头部栏按钮进行页面切换
iOS开发 横向分页样式 可左右滑动或点击头部栏按钮进行页面切换 不多说直接上效果图和代码 1.设置RootViewController为一个导航试图控制器 // Copyright © 2016年 ...
- iOS开发之---判断是否是手机号
iOS开发之---判断是否是手机号
- iOS开发之动画编程的几种方法
iOS开发之动画编程的几种方法 IOS中的动画总结来说有五种:UIView<block>,CAAnimation<CABasicAnimation,CATransition,CAKe ...
- IOS开发中数据持久化的几种方法--NSUserDefaults
IOS开发中数据持久化的几种方法--NSUserDefaults IOS 开发中,经常会遇到需要把一些数据保存在本地的情况,那么这个时候我们有以下几种可以选择的方案: 一.使用NSUserDefaul ...
- IOS 滑动指示导航栏 渐变
关于导航栏渐变,本人在写APP的时候,发现了各路大神各现其通,其实我觉得这个是个很简单的问题,不需要搞得那么麻烦,对个项目要求整齐来说,一般会建一个工具类,自定义View,各个同事需要的时候,直接调用 ...
- 微信小程序tab切换,可滑动切换,导航栏跟随滚动实现
简介 看到今日头条小程序页面可以滑动切换,而且tab导航条也会跟着滚动,点击tab导航,页面滑动,切导航栏也会跟着滚动,就想着要怎么实现这个功能 像商城类商品类目如果做成左右滑动切换类目用户体验应该会 ...
- iOS开发笔记之TableView优化
TableView相信只要是做iOS开发的就不会陌生,目前大多数iOS的app都是采用TabBar+NavigationBar+TableViewController这一主流框架, 既然用的这么频繁, ...
- iOS开发小技巧--TableView中headerView的循环利用,以及自定义的headerView
一.首先要搞清楚,tableView中有两种headerView,一个是tableHeaderView,另一个是headerView.前者就一个;后者根据session决定个数 headerView的 ...
- IOS 开发中判断NSString是否为空字符
//当 请求网络 或者获取其他返回数据 首先 要做一次判断 数据是否为空 防止程序崩溃 程序崩溃 好比拿刀扎在程序员的心啊- if(为空) { 做提示对话框等操作 } else { 正常执行 } - ...
随机推荐
- 在linux下的使用复制命令cp,不让出现“overwrite”(文件覆盖)提示的方法。(转)
在linux下的使用复制命令cp,不让出现“overwrite”(文件覆盖)提示的方法. 一般我们在使用cp命令时加上-f选项,希望不让出现“overwrite”的提示(文件覆盖的提示).如:# cp ...
- hibernate 联合主键
xml方式处理联合主键: 以有两个主键:id和name的student表为例. 先创建个主键类: package com.bjsxt.hibernate; //黑色为必写项 public ...
- sql中判断某个字符串是否包含一个字符串
如果想从SQL Server中查询包含某个关键字的东东,怎么查询呢? 一般有两个方法: 1.用like——select * from tablename where field1 like like ...
- spring中的AOP 以及各种通知 配置
理解了前面动态代理对象的原理之后,其实还是有很多不足之处,因为如果在项目中有20多个类,每个类有100多个方法都需要判断是不是要开事务,那么方法调用那里会相当麻烦. spring中的AOP很好地解决了 ...
- oracle聚合函数及行专列,pivot rollup cube
1.原始数据 --方法-: --以单位分组,计算每类特殊情况的合计以及按照单位的小计数 with a as (SELECT b.szfz, case when tsqk is not null th ...
- .NET牛人应该知道些什么?
任何一个使用.NET的人 描述线程与进程的区别? 什么是Windows服务,它的生命周期与标准的EXE程序有什么不同 Windows上的单个进程所能访问的最大内存量是多少?它与系统的最大虚拟内存一样吗 ...
- Visual Prolog 的 Web 专家系统 (1)
用Prolog敲代码,感觉舒坦. Prolog的编程范式,抽象程度远高于中.低级别的C语言等.敲代码的源码长度,至少比C语言的节省50%. 并且,Prolog的语法简单,符号选择自然合理,养眼度远高于 ...
- PHPCMS 学习
1.碎片管理2.为了升级操作 MY_ thinkphp为大写phpcms里面也是大写 然后继承如果加构造函数要调用一次父类的构造函数,最好在最上面调用 final 不可重写 重写最好调用一次paren ...
- [JNA系列]Java调用Delphi编写的Dll之Delphi与JAVA基本数据类型对比
Delphi与JAVA基本数据类型对比 类型 Delphi关键字 JAVA关键字 字节 备注 范围 整型 Shortint byte 1 有符号8位 -128..127 Byte 1 无符号8位 0 ...
- Linux下出现Read-only file system的解决办法
正常运行中的网站,忽然间出现session目录不可写,连接服务器一看,任何关于写硬盘的命令都不能用,提示Read-only file system,使用一条命令即可搞定此问题: mount -o re ...