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
0
votes
1 answer

GeoFencing doesn't work

I'm making an app with GeoFencing. I've read here and built an app. It doesn't crash but neither does it react once I enter the monitored area. It does log out "Started monitoring" but it doesn't react once I select my *.GPX file. This is my…
Erik
  • 2,500
  • 6
  • 28
  • 49
0
votes
0 answers

Did Enter region delegate not firing on enter

I can't seem to figure out why this function won't fire func locationManager(manager:CLLocationManager, didEnterRegion region:CLRegion) { println("here") var localNotification:UILocalNotification = UILocalNotification() …
Dominic Fox
  • 118
  • 11
0
votes
0 answers

alert notification(Local) weird behaviour when fired from didEnterRegion

When i was testing my application today, i realised that when the notification fired from didEnterRegion did not managed to trigger the below code.. ( I set the notification to Alert Notification) UILocalNotification *notification = [launchOptions…
WJX
  • 1
0
votes
2 answers

Monitoring Regions fails when stop and start MonitoringForRegion - iOS 7.1

My App should be able to Monitor different Regions. It should be also possible to "Edit" monitored Regions. I know thats only possible to start and stop Region-Monitoring. But that is my Problem. I've implement the following Workflow: Search…
blub
  • 359
  • 6
  • 23
0
votes
0 answers

iOS Region Monitoring from web service

I am developing an IOS application that uses region monitoring.I get my regions to be monitored from web service. I want to reinitialize the regions when the user opens the application, meaning stop monitoring the current regions and start…
0
votes
1 answer

Auto registering current location as geofence is not frequent as needed

My code supposed to do something like this: Register current location (using significant location changes) as geofence with 200 meters radius using this method: - (void)startMonitoringRegionWithCoordinate:(CLLocationCoordinate2D)coordinate When…
Idan Moshe
  • 1,675
  • 4
  • 28
  • 65
0
votes
1 answer

iBeacon entry/exit notifications sent even when the specific notification is turned off

I'm trying to activate either the notifyOnExit or notifyOnEntry property of an iBeacon using startMonitoringForRegion:. However, locationManager:didDetermineState:forRegion: is still called for CLRegionStateInside although notifyOnEntry was turned…
newenglander
  • 2,019
  • 24
  • 55
0
votes
1 answer

Geofencing and iOS : Check if we are in a region

I'm using the geofencing in iOS 7 and I want to create a method that return true if we are in a specific region (using the identifier). This method returns all regions, not only the region where we are : [locationManager monitoredRegions] Is there…
0
votes
1 answer

let user adjust region to be monitored

I would like to let a user to adjust a region to be monitored like the iOS 7 reminder app as shown on the attached image bellow. I have created a rigion like: CLRegion *newRegion = [[CLRegion alloc]…
shebelaw
  • 3,992
  • 6
  • 35
  • 48
0
votes
0 answers

Trigger views with multiple ibeacons

I'm developing an app for iPad that uses more than one beacon and I need to show a view when I enter its region,then, when I'm near a beacon and far from the other one, I need the first one to be closed and open the second one. My code is this: …
Norolim
  • 926
  • 2
  • 10
  • 25
0
votes
2 answers

Is it ok to run CLLocationManager in background

I want to check the user current location in every 20 meters user move.All in active state and background.I know its ok to do it in active state.But i want to know is it ok to do the same thing in background mode in ios.Specially want to know is…
mychar
  • 1,031
  • 1
  • 11
  • 20
0
votes
1 answer

iOS 7.1 iPod 5th generation request for the state of beacon and ranging not happening

With the update of iOS 7.1 there is much changes in the ibeacon API for requesting, ranging beacon in the background even when app is killed or not launched, here are some of the things i observed as per the ranging for the beacons , in iPod 5th gen…
Madhu
  • 869
  • 1
  • 17
  • 37
0
votes
1 answer

Simulate entering iBeacon region by fluctuating power?

I'm new to iBeacon, and would like to simulate entering and exiting an iBeacon region, to see how notifications work on entering/exiting a region when an app monitoring for iBeacons is in the background. The iBeacon I'd like to try this with would…
Brad Parks
  • 66,836
  • 64
  • 257
  • 336
0
votes
1 answer

iOS Region Monitoring: Is my app crashing or is this expected?

My app uses region monitoring when it is backgrounded. As soon as the app enters the background I take their location (which I already have in the foreground) and create a region around it and start monitoring that region. I'm using cocoa lumberjack…
Mike
  • 9,765
  • 5
  • 34
  • 59
0
votes
1 answer

how to specify a region for iOS app to operate in

I currently have an app that report road hazards, and sends an email to the relevant local authority. Is there any way to use the region manager functions in Xcode to specify a rectangle which the app will function in, but if the user accesses it…
scb998
  • 899
  • 5
  • 18
  • 42