[[UIApplication sharedApplication] presentLocalNotificationNow 不执行回调

我有两个设备,一个发送端,一个接收端,两个同时运行时,接收端能检测到iBeacon信号,但是不弹出推送通知,离开走近都不弹出,当把两个设备放在桌上不动,,当发送端自动锁屏进入后台,接收端才会弹出离开区域推送通知,把发送端打开,接收端会弹出进入区域通知,有点不理解,为什么会这样

程序必须运行在后台才会弹出通知,程序在前台的话需要自己处理alert。presentLocalNotificationNow只有在程序在后台时才会在通知栏出提示

了解,比如发送端处在前台,也不会给接收端发送通知?只有等发送端退到后台,或是从后台进入前台才会给发送端推送通知么?

在前台的时候,push通知需要在应用中自己处理显示的逻辑,最简单的是跳出一个alert提示界面。

Is it possible to call webservice inside the monitoring and ranging block.I tried but even though the webservice creating some result it is showing that as null result.Whats the problem,is it possible to call another back ground service along with the april beacon service…

I called this webservice from the another place there it is showing its actual result…Please reply me as fast as possible…

@sanjeev We have replied you this link. Please start discussion that thread.