摘要: + (NSString *)getKeyChainValue { KeychainItemWrapper *keyChainItem=[[KeychainItemWrapper alloc]initWithIdentifier:@"LinkerApp" accessGroup:nil]; NSS... 阅读全文
posted @ 2015-06-08 11:28 金正嗯 阅读(125) 评论(0) 推荐(0) 编辑
摘要: iOS 7中苹果再一次无情的封杀mac地址,现在已经不能获取ios7设备的物理地址。那么在开发中如何才能标识设备的唯一性呢?apple公司提供的方法是通过keychain来存一些标志信息,然后通过存的标志信息来让应用程序来识别该设备的唯一性。apple公司写了一个简单的操作keychain的工具类:... 阅读全文
posted @ 2015-06-05 18:42 金正嗯 阅读(176) 评论(0) 推荐(0) 编辑
摘要: #include "TargetConditionals.h"#if !TARGET_IPHONE_SIMULATOR#include "route.h"#else#include #endif 阅读全文
posted @ 2015-05-25 15:31 金正嗯 阅读(407) 评论(0) 推荐(0) 编辑
摘要: #import NSString *values[] = {@"ChinaNet"}; CFArrayRef arrayRef = CFArrayCreate(kCFAllocatorDefault,(void *)values, (CFIndex)1, &kCFTypeArrayCallBacks... 阅读全文
posted @ 2015-05-22 10:39 金正嗯 阅读(1561) 评论(0) 推荐(0) 编辑
摘要: ld: symbol(s) not found for architecture armv7Undefined symbols for architecture armv7:意思是找不到某个类的framework,查看你是不是引用了没有加到building Phase里的framework的类。查去... 阅读全文
posted @ 2015-05-08 17:35 金正嗯 阅读(112) 评论(0) 推荐(0) 编辑