RegionFramework:进入或退出区域(iBeacon 区域或圆形区域)时执行脚本(Javascript)-源码

上传者: 42137723 | 上传时间: 2021-07-05 13:05:58 | 文件大小: 71KB | 文件类型: ZIP
RegionFramework Execute scripts (Javascript) when enter or exit a region (iBeacon region or Circular region) RegionFramework 是一组区域管理工具,在 iOS 中,我们可以监控很多 区域, 当进入退出这些区域时,我们会得到一次通知,RegionFramework为每个对应区域添加一组脚本,当进入离开区域时,我们可以来执行对应的脚本。 所以,我们在外部维护一组区域的列表,他可以就是一个json文件,或者是一个经常更新的接口(返回json格式内容)。 我们的 App 中定时从这个外部列表更新,以此来更新哪些区域需要监控,哪些区域将停止监控,并为各个区域加载需要执行的脚本。我们只需在外部更新这个列表就可以让 App 更新监控不同的区域,并执行不同的行为。 借助于 javasc

文件下载

资源详情

[{"title":"( 38 个子文件 71KB ) RegionFramework:进入或退出区域(iBeacon 区域或圆形区域)时执行脚本(Javascript)-源码","children":[{"title":"RegionFramework-master","children":[{"title":"RegionFramework.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 18.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"RegionFrameworkTests","children":[{"title":"RegionFrameworkTests.m <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 743B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"RegionFramework","children":[{"title":"RegionsTableViewCell.h <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"RegionsTableViewCell.m <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"Main.storyboard <span style='color:#111;'> 32.71KB </span>","children":null,"spread":false},{"title":"LaunchScreen.xib <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"RegionFramework","children":[{"title":"WKRegionActivities.m <span style='color:#111;'> 15.87KB </span>","children":null,"spread":false},{"title":"WKJs.md <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"region.test.json <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"WKRegionActivity.m <span style='color:#111;'> 11.30KB </span>","children":null,"spread":false},{"title":"WKJs.m <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"WKJs.h <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"WKRegionActivity.h <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"WKRegionActivities.h <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"BeaconsViewController.m <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"RegionsViewController.h <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"rfid_signal.imageset","children":[{"title":"rfid_signal@2x.png <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"rfid_signal.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"rfid_signal@3x.png <span style='color:#111;'> 6.30KB </span>","children":null,"spread":false},{"title":"Contents.json <span style='color:#111;'> 390B </span>","children":null,"spread":false}],"spread":false},{"title":"viking_helmet.imageset","children":[{"title":"viking_helmet@3x.png <span style='color:#111;'> 5.16KB </span>","children":null,"spread":false},{"title":"viking_helmet@2x.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"viking_helmet.png <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"Contents.json <span style='color:#111;'> 396B </span>","children":null,"spread":false}],"spread":false},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"AppDelegate.h <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"ActivityViewController.m <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"ActivityViewController.h <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"RegionsViewController.m <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"BeaconsViewController.h <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 241B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明