我已经成功实现了使用Kontakt Beacon的iBeacon进入区域时的本地通知。同时,我监视3个具有特定和独特标识符的信标区域(每个区域具有相同的UUID但唯一的Major和Minor组合)。在锁屏模式下,我的应用程序可以在这些信标存在时发出通知,但是我不知道为什么即使信标和我的应用程序都静止几乎紧挨着彼此,委托DidExitRegion仍然被调用,请查看我的日志。
2014年01月18日11时56分49.828秒sunlandbeacon[1385:60b]进入非活动模式。 2014年01月18日11时56分49.848秒sunlandbeacon[1385:60b]进入后台模式,标记为0。 2014年01月18日11时57分28.629秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时57分29.305秒sunlandbeacon[1385:60b]本地通知出现,标记为1。 2014年01月18日11时57分29.307秒sunlandbeacon[1385:60b]进入区域1,标志值为1。 2014年01月18日11时58分15.173秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时58分15.176秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时58分15.178秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时58分15.880秒sunlandbeacon[1385:60b]本地通知出现,标记为2。 2014年01月18日11时58分15.886秒sunlandbeacon[1385:60b]进入区域1,标志值为1。 2014年01月18日11时58分16.175秒sunlandbeacon[1385:60b]本地通知出现,标记为3。 2014年01月18日11时58分16.184秒sunlandbeacon[1385:60b]进入区域2,标志值为2。 2014年01月18日11时59分02.784秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时59分02.787秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时59分02.790秒sunlandbeacon[1385:60b]退出信标范围。 2014年01月18日11时59分03.491秒sunlandbeacon[1385:60b]本地通知出现,标记为4。 2014年01月18日11时59分03.493秒sunlandbeacon[1385:60b]进入区域1,标志值为1。 2014年01月18日11时59分03.792秒sunlandbeacon[1385:60b]本地通知出现,标记为5。 2014年01月18日11时59分03.796秒sunlandbeacon[1385:60b]进入区域2,标志值为2。