手动导入第三方库PNChart文件夹,无法运行,出现两种错误:
第一种错误,出现Unknown type name “CGFloat”
解决方法如图:
![](https://img.haomeiwen.com/i1738258/59888093c454751a.png)
第二种错误,导入头文件报错
下载UICountingLabel
https://github.com/dataxpress/UICountingLabel
解压后把UICountingLabel的.m和.h文件拖入工程,把报错的#import头文件换为#import"UICountingLabel.h"
手动导入第三方库PNChart文件夹,无法运行,出现两种错误:
第一种错误,出现Unknown type name “CGFloat”
解决方法如图:
第二种错误,导入头文件报错
下载UICountingLabel
https://github.com/dataxpress/UICountingLabel
解压后把UICountingLabel的.m和.h文件拖入工程,把报错的#import头文件换为#import"UICountingLabel.h"
本文标题:引用第三方PNChart画图表出现Unknown type na
本文链接:https://www.haomeiwen.com/subject/qsfalttx.html
网友评论