What is new in watchOS 2?

Apple announced the new watchOS, i.e. watchOS 2 on June 8 at WWDC 2015 and this was the first major software update for Apple Watch. It’s really interesting to know what’s new in that. The watchOS 2 has a list of new features, and in this blog we will get familiar with a few of them.
There are a bunch of other frameworks for the watchOS and the WatchKit is a part of it. Many developers already know these frameworks in the watchOS. Here are some of the new and enhanced feature, specific to the watchOS.
1. Native apps
The major update is, apps can now directly run on the Apple watchOS 2. In Watch OS,  Apple watch can communicate with the iPhone through a Bluetooth-connection, but in watchOS 2 the app can run natively(on their own). It gives a momentum to the app running on the Apple Watch. It can also communicate with Wi-Fi network without the need to connect to the iPhone hence giving it direct access to your API’s data and show it.
2. WatchKit :
Digital Crown: This is really the unique interaction mechanism of the Apple Watch. You can access this feature by using the WkInterfacePicker from your storyboard.
Animations and Layout : You might know, that in watchOS you can set Interface elements programmatically or form your own storyboard, but some of these can set only from storyboard at the design time. So in watchOS 2 you can set it all programmatically, that means it will change at runtime. For animation, Apple adds one API called animationWithDuration. This is a block-based animation method, all animation part is written in this block.
Taptic Engine: Whenever you get a notification or alert the Apple Watch will tap on your wrist with subtle audio cues. If you want to use the Taptic Engine you will have to call simple API i.e playHaptics. For example, you can call this link
WKInterfaceDevice.currentDevice( ).playHaptic(.Click)
In this there are lists of different Haptics like, Notification, Start, Stop, Click, Success and Failure. More information is given in the Apple documentations.
3. Watch Connectivity Framework:
Apple introduces a brand new framework which will communicate between iOS apps and watchOS apps. This framework will share or pass the files/data back and forth. With an addition that if your devices are paired and active then live communication is possible.
4. Core Motion:
Basically, Core Motion allows your app to receive motion data from the hardware of the device and process that data. It exists in the watchOS and it will give access to the Accelerometer. Currently, the AccelerometerData gives the data to your app when it is running, but now it will give AccelerometerData to your app even when it is not running.
5. Core Location:
It is a part of watchOS and is used to find out the user’s location. Apple adds to that with the new API which is specifically used to find user’s current location with simple API call. Also in Core location you have to request Core location authorisation, now it is shared with your watchOS app ‘Core location authorisation’ and iOS app ‘Core location authorisation’. Once you accept either on watch or iPhone it will apply to both.
6. HealthKit:
It is also a part of watchOS, now you can access all the data of HeathKit directly to your Watch app because it is running on the same platform.
7. Security:
This framework allows you to access the Keychain. Now you can use this in your Watch app to store data in the Keychain because the Watch remains unlocked while is it on your wrist, on removing the Watch, it gets locked. Hence giving you the advantage to store user credentials on the Watch.
8. Contact Framework:
Contact Framework is the new framework that will give you access to your contacts.
Apple introduced watchOS last year, and they have really outdone their competitors. I would love to see different apps on Apple Watch with these latest updates.

Leave a Comment