引用头文件报错 .pch引用不了其余的.h文件

1、编绎显示Unknown type name “CGFloat”  错误解决方法








将Compile Sources As 改成 Objective-C++

  
 



2、若是是extern const引发的。直接加头文件

#import <UIKit/UIKit.h> spa


最后在 .h文件 #import <UIKit/UIKit.h>  就能够正常导入到.pch文件那里拉, it

6不666666 import

相关文章
相关标签/搜索