Questions tagged [watchos-2]

watchOS 2 is the second version of Apple's operating system for Apple Watch and is the successor to watchOS. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 8, 2015, and was released on September 21, 2015.

WatchOS 2 is Apple's operating system for the Apple Watch. It was introduced on June 8th at the Worldwide Developer Conference (WWDC) 2015.

WatchOS 2 brings many new features and improvements, some of which are:

  • Standalone Apps for the Watch
  • Connecting to known Wireless Networks
  • Complications
  • Time Travel
  • Clock Kit

WatchOS 2 was released to the general public on September 21, 2015 along with iOS 9.

You can find more information here.

839 questions
9
votes
3 answers

Swift watchOS 2 - CMSensorDataList

Short: I don't know how to extract the CMRecordedAccelerometerData from the CMSensorDataList after getting one from the CMSensorRecorder. Apple isn't providing any documentation, yet. Maybe someone has a hint for me? ;) func…
Narsail
  • 735
  • 1
  • 8
  • 12
8
votes
0 answers

How to stop Speech Recognition (Dictation) in Apple Watch when the user stops speaking?

I have succesfully implemented native speech recognition (Dictation) in Apple Watch (WatchOS 2.1, iOS 9.2.1) basically I used this code, with an empty "menu options array": func launchDictation(){ …
Josh
  • 6,251
  • 2
  • 46
  • 73
8
votes
2 answers

WatchKit Complication: get Complication data from extension delegate

I have all the data I need in my WatchKit Extension (passed from the iOS app). I used the data in the WatchKit InterfaceController to fill in a table, which works perfectly. I'm trying to figure out the best way to get that same data in my WatchKit…
SRMR
  • 3,064
  • 6
  • 31
  • 59
8
votes
2 answers

watchOS 2: setting properties on initial Interface Controller

Starting with watchOS 2, we have an ExtensionDelegate object, which is analogous to UIApplicationDelegate (reacts to app lifecycle events). I want to get a reference to the first Interface Controller object, which will be displayed upon launch, to…
József Vesza
  • 4,775
  • 3
  • 27
  • 42
8
votes
3 answers

Selector not called on selecting menu item after force touch

I have this code, for responding to a menu item being tapped after a force touch: class InterfaceController: WKInterfaceController { override init() { super.init() self.addMenuItemWithItemIcon(WKMenuItemIcon.Pause, title:…
Andrew
  • 7,693
  • 11
  • 43
  • 81
8
votes
2 answers

WatchOS 2.0: WCSessionDelegate not get called (in Simulator)

I am running WatchOS 2.0 on Version 7.0 beta 5. I am running an iOS with iWatch App. I setup the Targets as shown. I had my iOS's ViewController and WatchKitExtension's Interface Controller both activated WCSession and set as delegate. if…
John
  • 2,672
  • 2
  • 23
  • 29
8
votes
1 answer

watchOS Error: Unknown property in Interface description for controller

I added a WKInterfacePicker to the storyboard and connected it to an IBOutlet in the interface controller. While running the application, it shows an error message in the console: Unknown property in Interface description ('watchPicker') for…
Nagendra
  • 357
  • 2
  • 13
8
votes
2 answers

How to use xcodebuild in Xcode 7 with a watch extension

Our command used to be like this xcodebuild -configuration Release -target "xxx" -sdk iphoneos9.0 -scheme "xxx" archive Now in Xcode 7, we get this error: Build settings from command line: SDKROOT = iphoneos9.0 === BUILD TARGET xxx WatchKit…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
7
votes
2 answers

Animate WKInterfaceLabel with text change apple watch swift

I am working on an apple watch application. In the application, I have a view where the user may swipe left and right between 3 given results. I am using WKInterfaceLabel to show result information. On each swipe, labels are updated with new…
Akshay Sunderwani
  • 12,428
  • 8
  • 29
  • 52
7
votes
5 answers

Watch app starts with error clientIdentifier for interfaceControllerID not found

I'm having a smartwatch app on watchos2. The app always worked but now when it starts I immediately get this error: Lop_WatchKit_Extension[17535:7854201] *********** ERROR -[SPRemoteInterface _interfaceControllerClientIDForControllerID:]…
user1007522
  • 7,858
  • 17
  • 69
  • 113
7
votes
0 answers

Map tiles don't load in Xcode 7.3 Watch Simulator

This seems to be a known issue as described in whatchOS 2 Release Notes: If you do not see map tiles load on the Watch Simulator, launch the Maps app in the iOS simulator first. After that, map tiles will load. I tried these steps, with no…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
7
votes
2 answers

What is the lifecycle of Watch App?

There are two subclasses of WKInterfaceController in my Apple Watch app. The first one is the entrance of another one, their relationships is nextPage with the Interface Builder. For the awakeWithContext, willActivate and didDeactivate method in…
Zigii Wong
  • 7,766
  • 8
  • 51
  • 79
7
votes
2 answers

Working with Cocoapods + WatchOS 2 target

I have an iOS project with a lot of pods, around twenty. I want to integrate a watchOS 2 app in, but CocoaPods requires that the podspec contain support for watchOS (as seen here: http://blog.cocoapods.org/CocoaPods-0.38/) At first, I thought I…
Zach Lucas
  • 1,631
  • 5
  • 15
  • 29
7
votes
2 answers

Debugging advice for WatchOS2

I've been going through the examples in WatchOS 2 By Tutorial book by the team over at RayWenderlich, specifically chapter 18. They all work fine. In my own App, I am trying to send a button press from the watch to fire a button on the iPhone App.…
Michael Rowe
  • 870
  • 2
  • 11
  • 27
7
votes
1 answer

Share data between Watch app and iOS app in watchOS2

I send a dictionary to an iOS app using: - (void)sendMessage:(NSDictionary *)message replyHandler:(nullable void (^)(NSDictionary *replyMessage))replyHandler errorHandler:(nullable void (^)(NSError…
Pramuka Dias
  • 568
  • 4
  • 16