摘要:
xcode 升级到新版本后 在xib文件里添加新控件后经常会出现报错 或者不能load 或者不能赋值等等奇怪的问题Could not instantiate class named NSLayoutConstraint 找到的解决办法有http://blog.163.com/zzf_soft/blog/static/13400174720127710837169/use autolayout 复选框去掉如果还不能解决就自信检查Connecs inspector里面的Outlets 如果有重复的 连两个的连接 删掉一个连接 似乎连接到File's owner会出问题 阅读全文
随笔档案-2012年10月31日
UICKeyChainStore
2012-10-31 15:28 by -king, 2526 阅读, 收藏,
摘要:
在使用UICKeyChainStore类库的时候 要添加Security.framework默认的UICKeyChainStore is notARCcompatible,so i do some change by myself.一种错误是Implicit conversion of C pointer type 'CFTypeRef' (aka 'const void *') to Objective-C pointer type 'id' requires a bridged cast这个可以通过默认的解决方法---添加__bridge 来 阅读全文
ALAssetsLibrary
2012-10-31 11:19 by -king, 549 阅读, 收藏,
摘要:
使用ALAssetsLibrary类库时 需要引进相关的framwork 否则会引起以下错误Undefined symbols for architecture armv7:"_OBJC_CLASS_$_ALAssetsLibrary", referenced from: objc-class-refinCDVBarcodeScanner.o需要引进的相关类库为AVFoundation.frameworkAssetsLibrary.frameworkCoreVideo.frameworklibiconv.dylibget donethere is a goodtutoria 阅读全文
浙公网安备 33010602011771号