ibeacon后台运行使用注意点:
iOS 系统7.1以后,如果应用没有打开也能搜索到ibeacon
我在研究过程中遇到的一些问题:
1、设置-后台应用程序刷新-自己应用打开
2、 region.notifyEntryStateOnDisplay = YES;
region.notifyOnEntry = YES
region.notifyOnExit = YES;
三个参数需要设置
3、进入后台之前不能stopRangingBeaconsInRegion;必须要在search
4、plist文件需要设置Required background modes
http://www.chinaibeacons.com/index.php?a=shows&catid=1&id=18