Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apple Watch App Development

You're reading from   Apple Watch App Development Build real-world applications for the Apple Watch platform using the WatchKit framework and Swift 2.0

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781785886362
Length 358 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Steven F. Daniel Steven F. Daniel
Author Profile Icon Steven F. Daniel
Steven F. Daniel
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing the Swift Programming Language 2. Understanding Apple Watch FREE CHAPTER 3. Exploring WatchKit Controls 4. Using the Core Location and Watch Connectivity Frameworks 5. Navigating Around in WatchKit 6. Implementing Tables within Your App 7. Adding Menus to Your App 8. Incorporating the Glance Interface in Your App 9. Incorporating Notifications within Your App 10. Image Compression and Animation 11. Packaging and Deploying Your App Index

Building and running the Health Monitor application

In this section, we will take a look at how to compile and run our Health Monitor application. You have the option of choosing to run your application on the watchOS device, or within the simulators for Apple Watch:

  1. To run the app, select the HealthMonitor WatchKit App scheme and choose your preferred device, as shown in the following screenshot:
    Building and running the Health Monitor application
  2. Next, build and run the application by selecting Product | Run from the Product menu, or alternatively, by pressing Command + R.

When the compilation completes, the Health Monitor app will be displayed. If you haven't previously allowed access to HealthKit, you will receive a dialog popup on both, Apple Watch and the iOS device.

In order to proceed, you will need to allow access to HealthKit so that you can retrieve the allowable characteristics that we specified within our app. You have the ability to turn on and off certain features so that they don't appear within the app. Tapping on...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image