Questions tagged [clregion]

CLRegion is an iOS class for CoreLocation framework that holds the information used in shape based regions.

The CLRegion class defines a geographical area that can be tracked. When an instance of this class is registered with a CLLocationManager object, the location manager generates an appropriate event whenever the user crosses the boundaries of the defined area.

97 questions
1
vote
1 answer

Monitoring regions but location icon disappears when app is killed

I have a CLLocationManager contained in a singleton and I have added around a dozen regions to monitor. I am successfully notified of boundary crossings when the app is in the foreground/background. However, when I force quit the app, the location…
MattDiep
  • 111
  • 6
1
vote
2 answers

iOS didEnterRegion never called

I have some problems with iOS and gefencing... // // ViewController.m // // // Created by me on 14.05.13. // Copyright (c) 2013 me. All rights reserved. // #import "ViewController.h" @interface ViewController () { …
Hendrik
  • 55
  • 2
  • 8
1
vote
3 answers

startMonitoringForRegion is not sending to didEnterRegion or didExitRegion

I have a location based app, all though the region is correct the app never moves to didEnterRegion or didExitRegion for (int x = 0; x <= [[[TaskStore sharedStore] allTasks]count]-1; x++) { NSArray *tasks = [[TaskStore sharedStore] allTasks]; …
FireSky
  • 181
  • 4
  • 17
1
vote
1 answer

iOS : alert user for specific Geo location area (lat,long)

I'm trying to implement a function of a Geo location for a user, I'm statically setting up latitude and longitude information, when app starts if the user is within that area I'm showing up a message that "You've been reached to office" else "You're…
Hemang
  • 26,840
  • 19
  • 119
  • 186
0
votes
1 answer

will Location Summary for "Always Allow" location permission shown for iBeaconRegion Monitoring as well in iOS?

From iOS 13, location permissions are tricky to get "Always Allow" from the user. Till if we managed to get the permission and if we are integrated locationUpdate callbacks, Users will get the below location permission reminder form os with tracked…
Srinivas
  • 315
  • 3
  • 18
0
votes
1 answer

iOS CLRegion monitoring stops working after a day

I have set up an app to monitor for both geofence (CLCircularRegion) and iBeacon (CLBeaconRegion) monitoring for entry / exit events. Everything works fine for about a day in both foreground and background. I get entry / exit events (generate a…
EPage_Ed
  • 1,173
  • 11
  • 11
0
votes
0 answers

C# Graphics: Region Clip and Hit Testing

I have a complex user control with 384 "wells" = circles each surrounded by a rectangle. Circle and surrounding rectangle colors are updated individually and independently from the control mouse events and also by commands from the parent form. …
beanmf
  • 493
  • 5
  • 7
0
votes
1 answer

Are CLRegions sandboxed to the application that created them?

As in, if I create and monitor a region, does CLLocationManagerInstance.rangedRegions in another app include my region information?
David
  • 95
  • 1
  • 7
0
votes
1 answer

Is it possible to monitor heading / course after triggering CLRegion?

I mean i would like this to happen : 1 - monitor exiting a region 2 - when the region triggers , i would like to know ex: if the user exiting this region is going North or South and trigger an specific notification based on that ...
lorenzo gonzalez
  • 1,894
  • 4
  • 14
  • 18
0
votes
1 answer

didRangeBeacons is called even beacon is off

I am implementing the IOS application with swift 3.0 which can monitor nearby beacons. I have an issue relating didRangeBeacon function, Detail reproduces steps below: 1- Application has entered beacon region 2- beacon is turned off 3- In next 10…
ThangBM
  • 301
  • 3
  • 10
0
votes
1 answer

Is there a way to set CLRegion to expire if not reached within certain time?

I'm trying to use CLRegion to mark as the end destination selected by the user so that the app will prompt the user once they've reached the destination. The issue is that if the user plots the end destination and didn't actually reach the region.…
Shen
  • 25
  • 4
0
votes
1 answer

Geofencing in iOS 10

iOS 10 introduced UNLocationNotificationTrigger for triggering local notification based on a defined CLRegion. Prior to iOS 10 I was using CLLocationManager's startMonitoringForRegion to do geofencing and send local notifications based on user…
nor0x
  • 1,213
  • 1
  • 15
  • 41
0
votes
1 answer

CLLocationManager didDetermineState method not called when app is in Background

I am using Geofencing for one of my application. But I got one issue in it. My application is not called - (void)locationManager:(CLLocationManager *)manager didDetermineState:(CLRegionState)state forRegion:(CLRegion *)region when application is in…
Nirmalsinh Rathod
  • 5,079
  • 4
  • 26
  • 56
0
votes
1 answer

Limitation of RegionMonitoring for an iOS App

I am developing an app where I need to update location of device to server approximately accurate, I can afford a difference of 500 | 700 meters in the data. I am successfully able to achieve it in a background and foreground mode. My main concern…
Manish Pathak
  • 3,224
  • 1
  • 18
  • 22
0
votes
1 answer

Automatically start an app through GPS events on iOS and Android with Xamarin.Forms

At work we've created an app that will track the routes a user makes to and from work and we have an automatic recording feature build in but it's not behaving the way we would like. It seems like this automatic system is being turned off by the OS…
MegaMiley
  • 478
  • 1
  • 5
  • 19