Propert 'c' cannot be found in forward class object 'CALayer *错误解决
2012-08-09 16:43
513 查看
sdk版本升级到5.1,在项目中设置view的layer属性时,会发生错误,"Propert 'c' cannot be found in forward class object 'CALayer *",这时需要引入#import
<QuartzCore/CALayer.h>。
在以前的sdk版本中,不需要引入就可以设置layer的属性,但是到了5.1,不引入就会编译通不过了。
<QuartzCore/CALayer.h>。
在以前的sdk版本中,不需要引入就可以设置layer的属性,但是到了5.1,不引入就会编译通不过了。
相关文章推荐
- Property 'c' cannot be found in forward class object 'CALayer *"
- UIView CALayer 属性不显示错误 Property cannot be found in forward class object 'CALayer
- Property xxx cannot be found in forward class object "XXXXX" 错误
- UITableViewCell Property “icon” cannot be found in forward class object “DJWeiBo”
- Property xx cannot be found in forward class object "XXXX"
- UIView CALayer属性不显示错误 Property cannot be found in forward class object 'CALayer'
- iOS: property XXX cannot be found in forward class object XXX
- Property cannot be found in forward class object ViewController
- "The object cannot be deleted because it was not found in the ObjectStateManager."
- 安装Android studio出现'tools.jar' seems to be not in Android Studio classpath的解决方法
- yii提示The table "xxx" for active record class "DistAR" cannot be found in the database
- ProbeException解决办法:There is no WRITEABLE property named 'id' in class 'java.lang.String'
- 解决Linux下svn问题:The program 'svn' can be found in following packages...
- Property cannot be found on forward class object?
- JDK Required: 'tools.jar' seems to be not in IDEA classpath解决办法
- 'Objects in this class cannot be updated outside an edit session'
- 怎么解决Excel.ApplicationClass' cannot be embedded问题?
- Application "XXX" could not be found in the registry的解决办法
- android studio报错Error:Project with path 'XXXX' could not be found解决办法
- 关于Cannot assign to 'self' outside of a method in the init family解决方法