Apple Watch Kit Integration in iOS Project

Posted By : Purushottam Kumar Verma | 05-Feb-2019

Apple Watch

 

Introduction

 

The apple watch is a type of smartwatch designed and developed by apple. It operates as a small wearable computing device worn on a user's wrist.

Apple Watch has a wireless connection thats allow user to  making calls, sending messages and many type of default features of iPhone .

We can also use it in our health and fitness oriented program.

It is a small and light-weight device so we can take away anywhere very easily.

The Apple Watch was officially announced on 9 September 2014 and was available to consumers in April 2015.

The Apple Watch is designed to connect with another Apple iOS device like the iPhone to push Apple Watch-specific content to the device.

 

Prerequisites before you begin:

 

To set up and use your new Apple Watch, you need to have an iPhone with the latest iOS version.

  • Apple Watch Series 3 (with GPS and Cellular functionality) or later is compatible with iPhone 6 or later
  • Apple Watch Series 3 (with GPS functionality) or earlier is compatible with iPhone 5s or later

Also need to complete following steps:

  1. On your iPhone, go to device Settings —> Bluetooth and make sure that Bluetooth is ON.
  2. Make sure that your iPhone is connected to Wi-Fi network or a cellular network.

 

Minimum prerequisites before you start developing your apple watch application:

  1. iOS 11 or above
  2. Xcode 8 or above
  3. Apple Watch and Apple Device (as of above define requirement)

 

Features of Apple Watch:

  1. Apple Pay
  2. Fitness and Health tracking
  3. Alarm, Actionable Notifications and Glances
  4. .Remote Control Functions
  5. Digital Touch Communication
  6. Siri voice assistant
  7. iTunes and Apple TV access
  8. Maps and navigation

 

Apple Watch With Internet of things:

 

Now days  IoT(internet of things) is grooming day by day. The benefit of internet of things is that we can control an any type of hardware device  through internet by retrieving and sending data from other hardware device.

We can implement a IoT based application in Apple Watch using:

  • BLE (Bluetooth Low Energy)
  • HomeKit Framework
  • HealthKit framework

 

How to Build an Apple Watch App with WatchKit:

 

Step1:

Open your Xcode and select “Create New Xcode Project”

Choose a “Single view Application”and click next.

 

 

Step2:

Choose your product name, organisation name and select your language as per your requirement (i.e. Swift or objective-C).

 

 

We are ready with our basic setup. Now perform the below steps.

 

Step 3:

Next step we have to click on File->New->Target as shown below

 

                                     

 

It will open a screen given below where you have to select watchOS->WatchKit App->Next

 

When you click on Next it will show a pop up and ask you to activate watch scheme. Just Activate the watch scheme.

 

 

Now you  have created apple WatchKit extension, this will create own WatchKit extension group in project folder.

 

 

 

Now you have to select a interface storyboard from file inspector it will look like below the image

 

 

Now you are ready to make  interface of apple watch application you can choose a Label, Button , Map and many other types provided in object library of Xcode.

 

For more you can also visit the reference links.

 

 

Reference:

1. https://support.apple.com/en-in/watch

2. https://en.wikipedia.org/wiki/Apple_watch

 
 

 

About Author

Author Image
Purushottam Kumar Verma

Purushottam is an iOS application developer. He is a music lover. He believes in. "Whether you think you can, or you think you can't--you're right".

Request for Proposal

Name is required

Comment is required

Sending message..