renwoxing / PotLoc

PotLoc demo app from apple for testing and playing around with Git in iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.3 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) 2016 Apple Inc. All rights reserved.

About

PotLoc demo app from apple for testing and playing around with Git in iOS

License:Other


Languages

Language:Swift 100.0%