当iBeacon(使用Kontakt Beacon)以背景模式进入区域时,我设法得到本地通知。同时我监视3个具有特定&唯一标识符(每个具有相同的UUID但唯一的主要和次要组合)的信标区域。在锁屏模式下,我的应用程序可以通知这些信标出现的时间,但我不知道为什么即使信标和我的应用程序仍然几乎彼此相邻,代表DidExitRegion仍然被调用,请查看我的日志。iBeacon每隔1分钟不断地进入和退出区域
2014年1月18日11:56:49.828 sunlandbeacon [1385:60B]输入无效模式
2014年1月18日11:56:49.848 sunlandbeacon [1385:60B] EnterBackgroundMode 与徽章0
2014年1月18日11:57:28.629 sunlandbeacon [1385:60B]退出信标范围
2014年1月18日11:57:29.305 sunlandbeacon [1385:60B]本地通知 与徽章会发生1
2014年1月18日11:57:29.307 sunlandbeacon [1385:60B]:58:15.173 sunlandbeacon与 flagvalue 1
2014年1月18日11输入区域1 [1385:60B]退出信标范围
2014年1月18日11:58:15.176 sunlandbeacon [1385:60B]退出信标范围
2014年1月18日11:58:15.178 sunlandbeacon [1385:60B]退出信标范围
2014-01-18 11:58:15.880 sunlandbeacon [1385:60b]本地通知 发生徽章2
11 2014年1月18日:58:15.886 sunlandbeacon [1385:60B]:58:16.175 sunlandbeacon与 flagvalue 1
2014年1月18日11输入区域1 [1385:60B]本地通知 会发生与徽章3
2014年1月18日11:58:16.184 sunlandbeacon [1385:60B]:59:02.784 sunlandbeacon与 flagvalue 2
2014年1月18日11输入区域2 [1385:60B]退出信标范围
2014-01-18 11:59:01 2.787 sunlandbeacon [1385:60B]退出信标范围
2014年1月18日11:59:02.790 sunlandbeacon [1385:60B]退出信标范围
2014年1月18日11:59:03.491 sunlandbeacon [1385:60B]本地通知 与徽章4偏偏
2014年1月18日11:59:03.493 sunlandbeacon [1385:60B]与 flagvalue 1
2014年1月18日11输入区域1: 59:03.792 sunlandbeacon [1385:60b]本地通知 带徽章5
2014-01-18 11:59:03。796 sunlandbeacon [1385:60B]与 flagvalue 2
谢谢你的快速回答并节省我的一天。这正是我需要的。 –