(有时)多个地理围栏功能不起作用

时间:2017-10-14 03:45:58

标签: ios swift swift3 gps geofencing

我正在尝试使用Xcode9和Swift3制作iOS应用。

有时,多个地理围栏功能无效。

private void queue_PeekCompleted(object sender, PeekCompletedEventArgs e)
{
MessageQueue queue = (MessageQueue)sender;
//Message msg = queue.EndPeek(e.AsyncResult);
Message msg = e.Message;
//Read message and check if the criteria matches
if(CriteriaMatches)
{
   queue.ReceiveById(e.Message.Id);
}


queue.EndPeek(e.AsyncResult);
queue.BeginPeek();
 }

任何人请帮助我。

谢谢。

0 个答案:

没有答案