关于pods 第三方类名颜色问题

2018-03-16  本文已影响0人  飞翔的小鳄鱼

在用到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>

上一篇 下一篇

猜你喜欢

热点阅读