Property 'edgesForExtendedlayout' not found on object of type
来源:互联网 发布:男士冬装搭配知乎 编辑:程序博客网 时间:2024/06/05 09:17
用Xcode4,iOS7以前的SDK编辑使用了iOS7新特性的工程,如果用到了 edgesForExtendedLayout属性,会报错Property 'edgesForExtendedlayout' not found on object of type,此时解决方案有二:
一:升级Xocde到5,Base SDK使用默认的iOS7 SDK。
二:写一个宏判断使用。
#ifdef IOS7_SDK_AVAILABLE
self.edgesForExtendedLayout = UIRectEdgeNone;
#endif
(如果iOS7不执行上述代码则把Xcode重启)
用Xcode5,iOS7 SDK遇到了上述的问题。。。。一般来说是不可能遇到的,如果真的悲催地遇到了,请把SDK库里的除iOS7 SDK以外的SDK全部删除,路径是
/Applications/Xcode.app/Contents/Developer
/Platforms/iPhoneOS.platform/Developer/SDKs
0 0
- Property 'edgesForExtendedlayout' not found on object of type 解决方案
- Property 'edgesForExtendedlayout' not found on object of type
- Property 'navigationController' not found on object of type '...'
- 解决编译错误:Property 'value' not found on object of type '_strong id'
- Property "属性名" not found on object of type "类名"
- Property 'XX' not found on type XXXX
- Field or property 'ROLE_USER' cannot be found on object of type 'org.springframework.security.web.ac
- 【spring-security】 Property or field 'ROLE_USER' cannot be found on object of type 'org.springframewo
- Property or field 'siteUrl' cannot be found on object of type 'xx'
- Property or field 'str' cannot be found on object of type 'com.yubai.EL.DemoService'
- 错误:Property or field 'default' cannot be found on object of type 'com.netflix.appinfo.InstanceInfo'
- Property 'name' not found on type java.lang.String
- Property 'typeid' not found on type java.lang.String
- Property 'typeid' not found on type java.lang.String
- javax.el.PropertyNotFoundException: Property 'xxx' not found on type
- javax.el.PropertyNotFoundException: Property 'XXX' not found on type XXX
- Property 'Name' not found on type com.cn.vo.UserInfo
- javax.el.PropertyNotFoundException: Property 'fyear' not found on type
- 说话小声点
- 信息图:一张图看懂阿里巴巴十年大数据
- 【Unix编程艺术】第5章 文本化
- APIO2007:风铃(Mobiles) 数据备份(Backup) 动物园(Zoo)
- 快到碗里来
- Property 'edgesForExtendedlayout' not found on object of type
- linux下tcp/ip编程
- 【Unix编程艺术】第6章 透明性
- NFS服务器与客户端的安装于配置
- 空间数据库引擎探究及GIS栅格和矢量数据类型的存储
- 基于crawler4j、jsoup、javacsv的爬虫实践
- Delphi const 杂谈
- 【Unix编程艺术】第7章 多道程序设计
- dojo小例子(10)改变grid选中行的列值