框架下载:http://download.csdn.net/detail/u013243469/8501599
#import "MJRefresh.h"
//构建刷新控件
[self setupRefresh];
#pragma mark - 刷新控件
- (void)setupRefresh
{
// 1.下拉刷新(进入刷新状态就会调用self的headerRereshing...
分类:
移动开发 时间:
2015-03-15 09:39:40
阅读次数:
175
当不需要上拉刷新时,调用[self.tableView removeFooter]; 结果发现tableview底部有空白 排查许久,原来调用removeFooter 之前必须调用[self.tableView footerEndRefreshing];否则将出现空白现象。
分类:
其他好文 时间:
2015-03-03 18:01:48
阅读次数:
332
使用MJRefresh上拉加载,下拉刷新时,导入包后,编译出现:Too many arguments to function call ,expected 0,have3
网上解决解决办法:
Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable Strict Checking of objc_msgSend Calls 将YES ...
分类:
其他好文 时间:
2015-03-02 13:13:59
阅读次数:
129
使用MJRefresh刷新,导入工程中,爆出:Too many arguments to function call ,expected 0,have3
解决方法:Build Setting--> Apple LLVM 6.0 - Preprocessing--> Enable Strict Checking of objc_msgSend Calls YES改为 NO...
分类:
其他好文 时间:
2015-02-05 13:38:42
阅读次数:
182
mjrefresh 调用两次headerEndRefreshing 会造成刷新后上移[self.view viewWithTag:1234] 当要找到view不在self.view上时 ,是找不到的,比如view在self.navigationController.navigationBar上时,用...
分类:
其他好文 时间:
2014-12-29 11:48:17
阅读次数:
198
第三方太过于强大,上拉刷新,下拉刷下,左边,右边,各种刷新,
先介绍几个第三方:
JHRefresh: https://github.com/Jiahai/JHRefresh
可以自定义动画的上、下拉刷新,Demo效果类似大众点评的动画效果,动画是帧动画实现的
那就自备图片组吧 ~ ~ ~
MJRefresh: https://github.com/CoderMJ...
分类:
移动开发 时间:
2014-12-27 19:01:41
阅读次数:
212
转载自: http://blog.csdn.net/wsjshx/article/details/40743291将XCode升级到6后,报Too many arguments to function call, expected 0, have *,在XCode5.1里能编译通过的,到xcode6...
分类:
其他好文 时间:
2014-12-26 18:03:55
阅读次数:
171
最近用到刷新的问题,然后研究了一下mj的刷新代码,受益很多,为了以后用到的时候能够迅速使用,也希望能够帮助到正在使用MJRefresh的同学,下面废话不多说,直接上图上代码!1. code4app下载MJRefresh包之后,按照下面步骤执行2.集成刷新控件3.代理方法进行刷新4.停止刷新状态5. ...
分类:
其他好文 时间:
2014-10-12 01:39:47
阅读次数:
521
使用第三方:MJRefresh
NSString*constMJCollectionViewCellIdentifier=@"Cell";
-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions
{
self.window=[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]];
..
分类:
其他好文 时间:
2014-09-25 12:34:19
阅读次数:
480