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
0
votes
2 answers

How can I get the root View from a WKInterfaceController, without an outlet

I want to get a hold of the root view of a WKInterfaceController, without having defined an outlet for it. I want this for a development tool I'm trying to build. Its not code I mean to run in production, so private APIs are welcome here.
gardenofwine
  • 1,344
  • 2
  • 15
  • 24
0
votes
1 answer

watchOS 2 - How to select UIButtons randomly

I'm trying to select a number of interface elements on the watch randomly (e.g. from 20 UIButtons) in order to modify their properties color etc. On the iPhone I would have had init a bunch of UIViews with numerical tags so I loop through them or…
jane
  • 55
  • 4
0
votes
1 answer

Not sure why this basic watchOS 2 app isn't working

This is the first day I am learning how to code. I want to make a simple WatchKit App using watchOS 2. I got the Hello World app up and running and now when I try to have a menu press trigger a label to change, the code won't compile, with the…
0
votes
1 answer

Image sequence of .gif playing on WatchSimulator but not on AppleWatch

I am on watchOS2 b4. I have a WKInterfaceImage named animatedImage which is connected properly and I am using [self.animatedImage setImageNamed:@"image"]; [self.animatedImage startAnimatingWithImagesInRange:NSMakeRange(0, 65) duration:6.0…
Philip
  • 2,287
  • 1
  • 22
  • 37
0
votes
1 answer

Inexplicable watchOS 2 Error

So I have my watch app asking for text input as is below but it gets this error that makes NO sense! I was hoping someone could help me out with this? Thanks in advance!
Nerdy Lime Apps
  • 331
  • 2
  • 5
  • 18
0
votes
4 answers

How to change the picture placed by UIImage

I placed an image on a button (group) and want to change it on button press. But I don't know how? Every code I find (UIImageVew, ...) relies on an image name!? Thank you for a little hint. Edit: What I forget to say is, that I am coding with…
Tim B.
  • 21
  • 2
0
votes
1 answer

How to get current language of Siri in Apple Watch

Please help me to get the current language of Siri in watchOS. Thanks!
0
votes
1 answer

Some questions about Apple Watch

I'm started to working with Apple Watch today. I'm searched on internet about Apple Watch & watchOS 2, but have some stuck while understand all of them (please for give me for bad English, thanks): 1. Can Apple Watch detect shake motion of user when…
Bad_Developer
  • 537
  • 5
  • 20
0
votes
1 answer

Why won't openSystemURL on watchOS2 won't open tel: urls

I am trying to dial a number in my watchOS 2 application using the openSystemURL with a tel: URL method: let extent = WKExtension.sharedExtension() extent.openSystemURL(NSURL(string: "tel:1-408-555-1212")!) This does not do anything, however when I…
Suneet Tipirneni
  • 839
  • 1
  • 12
  • 17
0
votes
1 answer

Custom code on the updateHandler from HKWorkoutSession

My question is plain and simple. Can i run custom code in the updateHandler when I´ve executed a HKWorkoutSession and is listening for HeartRate samples? (Even when the Watch is locked from "wrist down" movement) If this i possible what are my…
Philip
  • 2,287
  • 1
  • 22
  • 37
0
votes
1 answer

WKInterfaceLabel.setText not reflecting changes following modal viewController dismissal

I am working on a simple video game for the Apple Watch. In awakeWithContext() I call my own method, startNewGame(), and register for it to be called again when receiving a notification from my modal viewController. This all works fine. Then upon…
PopKernel
  • 4,110
  • 5
  • 29
  • 51
0
votes
0 answers

Stream Heart Pulse from Apple Watch OS 2

Is it possible for a WatchOS2 App to get notified of each pulse from the heartbeat sensors?
Florian Doyon
  • 4,146
  • 1
  • 27
  • 37
0
votes
2 answers

How to wake iphone on applewatch programmatically

My scenario is control iphone music player on applewatch. Just like what the applewatch music glance would do. The project is gonna be iphone app, watch app, and watch extension. however, I want it to be able to work even thou my iphone app is not…
Jay Hu
  • 6,041
  • 3
  • 22
  • 33
0
votes
1 answer

How sharing the model of the main app with WatchOS2?

I need to share my entities (CoreData) of the main app with WatchOS2. There are two ways to share code between targets - frameworks, and just including the .m or .swift file in multiple targets using Xcode's inspector. WatchOS2 can create a dynamic…
Hobbes
  • 119
  • 9
0
votes
1 answer

xcode 7 beta stuck at "Running xxxxx WatchKit App on iPhone 6"

I recently tried to build new watch os 2 watch app. However, my Xcode 7 beta is not working. I tried reinstalled already. It still doesn't work. It basically stuck at "Running xxxxx WatchKit App on iPhone 6" every time I tried to run it on the watch…
Jay Hu
  • 6,041
  • 3
  • 22
  • 33