iOS Departures (Geofence)

iOS takes too long to wake up your app. We fixed that.

  • iOS CLRegion is notoriously slow to wake up apps on departure
  • PathSense reliably wakes up your app on departure from a specified location
  • 6x Faster and more accurate than iOS CLRegion
  • Note: This is not intended to fully replace iOS CLRegion, they can be used simultaneously
  • Get the demo app to test on your phone

PRIVACY: Data never leaves the phone!

func startLocationManager()
    if (locationManager == nil) {

func handleButton(sender : UIBarButtonItem)
    // Set the geofence centerpoint here
    locationManager?.setDepartureCoordinate(CLLocationCoordinate2DMake(lat, lng))

func psLocationManager(_ manager: PSLocationManager!, didDepart coordinate: CLLocationCoordinate2D)
    // called when departure is detected

iOS Departures Features

PathSense Departures provides the following improvements over iOS CLRegion:

  • Wakes up your app reliably in less than 30s, as compared to 200s for iOS CLRegion
  • Telematics: Quickly wake up to detect start of drive
  • Family safety: Send a notification that a family member has left the current location
  • SmartHome: Close a garage door or lock a deadbolt
  • Privacy: Unlike competing geofence solutions, there is no server communication. Your user's data never leaves the phone
  • Note: This module is intended to quickly wake your app on departure. iOS CLRegion works well for geofence arrival detection.

Frequently Asked Questions

Not finding what you are looking for? Send us an email.

Get In Touch

The Pathsense SDK (Framework) supports iOS versions up to 14

Use of the SDK is free for testing and evaluation under the Evaluation License on our Developer Portal. We, at our discretion, may allow students and startups to use the SDK for free in deployed apps for extended periods of time. Pricing for commercial deployments is based on a variety of factors. We offer both usage based and source code licenses. Please see our pricing section for more information.

This varies between individual modules in the SDK. Some modules require only precise location permission, others require motion and fitness. There is a complete list in the documentation.

Again this varies by individual module. Some modules such as Activity Recognition and Distracted Driving Detection use IMU sensor data and complex machine learning models created by our PhD scientists. Other modules make use of our proprietary location processing algorithms.

Team PathSense has more than 100 man years of experience in mobile location technology, geospatial, sensor fusion, and machine learning. The team has been building mobile location technology since 2003, long before the iPhone and Android existed.

PathSense has various SDKs and modules, not just one SDK. To get a complete list, sign up to access our Develoer Portal now.


PathSense Pricing



  • 1 active application
  • 1,000 monthly users
  • Non-commercial deployments
Get The SDK


Contact Us

  • Unlimited active applications
  • Unlimited monthly users
  • 24/7 support
Price Quote

Get the Demo App

Test iOS Departures on your phone without writing any code. The app will wake up from the background and begin tracking your location as soon as you depart from the geofence (blue circle). iOS CLRegion can take up to 200 seconds to wake up your app.
Note: This is a TestFlight link. You will need to install TestFlight on your phone to get the app.