receiver type 'CALayer' for instance message is a forward declatation

来源:互联网 发布:php cdn ip 编辑:程序博客网 时间:2024/05/18 15:07

解决方法:

在所在类里  导入<QuartzCore/QuartzCore.h>

#import<QuartzCore/QuartzCore.h>