Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Common
Potloc WatchKit App
Potloc WatchKit Extension
Potloc.xcodeproj
Potloc
LICENSE.txt
README.md

README.md

PotLoc: CoreLocation with iPhone and Apple Watch

This sample demonstrates what you can do with CoreLocation, Apple Watch, and iPhone in iOS 9. WatchKit 2.0 apps can make use of standalone location functionality, or they can delegate location use to their parent app on iPhone. This sample provides a working demonstration of each kind of use, and a handy reference for developing more complicated interactions.

Version

1.0

Build Requirements

  • Xcode 7.0 or later
  • iOS 9.0 SDK or later
  • Watch OS 2.0 SDK or later
  • Valid provisioning profile

Runtime Requirements

  • iOS 9.0 or later
  • Watch OS 2.0 or later

About Potloc

Potloc is a sample app for iOS and Watch OS 2.0 that demonstrates the basics on how to request location on Apple Watch and/or on iPhone.

Potloc demonstrates how to:

  • Request a single location using Apple Watch's CoreLocation framework
  • Start and stop updating location on iPhone using the WatchConnectivity framework
  • Start location updates on iPhone from Apple Watch while iPhone's app is in the background

Copyright (C) 2015 Apple Inc. All rights reserved.

You can’t perform that action at this time.