02 2014 档案

摘要:iBeacon是iOS7的新增的功能,通过BLE实现室内定位,精确到厘米级别。测试使用两台iPhone(支持BLE),一台作为iBeacon基站广播信号,代码使用官方源码AirLocate,另外一台作为接收端,直接使用的是App Store下载的AirLocate)。1、广播端主要代码NSDictionary *peripheralData = nil; region = [[CLBeaconRegion alloc] initWithProximityUUID:self.uuid major:[self.major shortValue] min... 阅读全文
posted @ 2014-02-28 17:47 geweb 阅读(1618) 评论(0) 推荐(1)
摘要:Reveal是配合开发者编辑各种用户界面参数一款工具,运行界面如下,模拟器和真机都支持。Reveal使用时中不需要添加其他代码,只需要ios工程加载Reveal.framework,如果是真机需要确认真机与Mac所在的同一局域网,Xcode运行App,在Reveal中选择运行的App,就可以看到上图类似的界面。一、手动安装在Reveal应用程序Help->Show Reveal Library in Finder,找到Reveal.framework1、添加Reveal.framework到工程目录中,拷贝到工程目录,如果有多个target,需要选取所有targets。2、将Reveal 阅读全文
posted @ 2014-02-27 17:56 geweb 阅读(2410) 评论(0) 推荐(1)
摘要:AFNetworking 下载地址:https://github.com/AFNetworking/AFNetworking/AFNetworking 2.0 当Deployment Target 低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h@property (nonatomic, strong) dispatch_queue_t completionQueue;由于sdk低于6.0时,dispatch_queue_t ARC没有托管,出现提示错误 Property with 'retain (or strong)&# 阅读全文
posted @ 2014-02-26 17:23 geweb 阅读(1600) 评论(0) 推荐(0)