startMonitoringForRegion never calls didEnterRegion/didExitRegion

后端 未结 3 1294
Happy的楠姐
Happy的楠姐 2020-12-25 08:19

I try to get the iPhone4 to monitor regions and notify me by call didEnterRegion or didExitRegion. I can\'t get it to work. I was reading probably all related enries here, p

3条回答
  •  天命终不由人
    2020-12-25 09:10

    Same here. I am trying too to get didEnterRegion and notify me. What I see is that the method never gets called. So I am having a custom check in (newLocation, oldLocation function)

    allocate a distance and :

    {
    distance = [newLocation distanceFromLocation:(your location)];
    if(distance < 300){
    [appDelegate Notify:@"Entering "];
    }
    

    significantlocationchanges sucks!!

提交回复
热议问题