在用到pods管理第三方库时应用第三方库方法时
图一颜色会变为系统方法颜色 如何改为图一颜色 详情见下:
在Podfile文件下
platform :ios, '8.0'
target 'Demo' do
# Pods for Demo
pod 'SDWebImage'
pod 'MJRefresh'
pod 'AFNetworking','~> 2.6.3'
pod 'SVProgressHUD','~> 2.1.2'
end
修改为
# Uncomment the next line to define a global platform for your project
platform :ios, '8.0'
use_frameworks!
target 'Demo' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# Pods for Demo
pod 'SDWebImage'
pod 'MJRefresh'
pod 'AFNetworking','~> 2.6.3'
pod 'SVProgressHUD','~> 2.1.2'
end
引用
#import<MJRefresh.h> 改为 #import<MJRefresh/MJRefresh.h>
网友评论