當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
謝謝你的快速回答並節省我的一天。這正是我需要的。 –