1. MJRefreshConst.m 里面 会报错: unknown type 'NSString'...

原因:  xcode6 取消.pch文件, 所以没有导入 foundation和uikit框架

解决方法: 在MJRefreshConst.m头部加上

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

 

2.

objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);

 

Too many arguments to function call, expected 0, have 3

经过几番周折,终于叨叨解决方案了

选中项目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND  将其设置为 NO 即可

 

相关文章:

  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-20
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-10-22
相关资源
相似解决方案