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
1 answer

Avoiding duplicating tuples in Swift

In my watchOS2 app I have array of tuples like this: var medicines = [(String, String?, String?)]() And in refreshing function i'd like to clear this array of tuples to append it with new String items. How can i do this ? I want to avoid having…
kiuzio2
  • 11
  • 6
0
votes
1 answer

WatchOS2 access to heart sensor data

Has apple released any documentation on how to access data from the infrared and photodiodes that make up the heart rate sensor with the new release of watchOS 2.0.1?
Greg Miller
  • 295
  • 1
  • 3
  • 15
0
votes
1 answer

WatchKit - Force Touch API Questions

Some questions to the Force Touch Menu: Now when I perform a Force Touch and press one of my menu Items, the whole InterfaceController, where my Menu is implemented is loading new. Is this avoidable? I've implemented a menu with 4 menuItems for…
0
votes
1 answer

Use NSTimeInterval to trigger notification in WatchOS2

I am trying to make a pomodoro app on the Apple Watch (OS2). I want to trigger a notification after the countdown is finished, in the first step I am trying to print some word in console, but it still does not works. How to use NSTimeInterval to get…
0
votes
1 answer

presentMediaPlayerControllerWithURL dismissing immediately without playing the audio

I'm creating a watch application which records an audio and play that audio. The recorded audio is saved in the Apps Groups and I used the following code for playing the audio. - (void)playAudio { // Playing the audio from the url using the…
Vishnu Kumar. S
  • 1,797
  • 1
  • 15
  • 35
0
votes
1 answer

How to release WatchOS2 app update?

I have an iOS application with watch OS1 supported app, now I am planning to migrate to watch OS2 app at the same time supporting previous version, How do I release the app? Would I have to release the whole app along with iOS app, Watch OS1 and…
sahiljain
  • 2,215
  • 1
  • 29
  • 39
0
votes
1 answer

What is the best way to determine when a WatchOS 2 app is opened?

willActivate seems to be called in a few different situations and can be called multiple times? didAppear is only called once when the app is started? I just want a function to be called when the user opens the app no matter if the app is being…
jestro
  • 2,524
  • 4
  • 27
  • 46
0
votes
3 answers

Watchkit and WCSession

In my little experience I noticed that creating two or more Interface Controller (IC) for a WatchKit app, the AppleWatch start to load the next interface before the user swipe to it. This could be useful for system performances, but then there is…
Nicola
  • 61
  • 1
  • 1
  • 4
0
votes
1 answer

Testing watchOS 1.01 after adding watchOS2 support

Everything that I've found so far has been about upgrading, or getting watchOS2 working with Xcode 7. I've seen people say that this should work, but I cannot make it happen. I had an app with a watchOS1.01 target. I've added a new target, for…
Killian
  • 936
  • 3
  • 14
  • 28
0
votes
1 answer

WKInterfaceMap is not shown on WatchOS 2 project

I am trying to display a map in a Watch app by means of this class: import WatchKit class WKMapController: WKInterfaceController { @IBOutlet var map: WKInterfaceMap! let mapSpan=0.0001 override func awakeWithContext(context:…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
0
votes
2 answers

WatchOS2 UI updates sent to page based WKInterfaceController when controller is not current page runs but does not update any UIs

I have an app with 3 pages, when I receive information from my WatchConnectivity delegate, which is my Extension Delegate, I delegate it to the InterfacController to update the UI. However, the code that handles the update runs, including the UI…
0
votes
2 answers

WatchKit (watchOS 2) CLLocationManager returning nil coordinates

I can say that I have no idea how/why this happened. I have a watchOS 2 app I am working on. I've been working on it all day and it uses core location. It's been getting current location just fine. I need the lat/long in order to make a network call…
Mario A Guzman
  • 3,483
  • 4
  • 27
  • 36
0
votes
1 answer

Save current storyboard watchKit

I'm in trouble because I've developed a Hangman Game on the Watch but when the user win and he lock the device at the next start my storyboard info have been update but I don't want them to be updated and I don't know how to do that... If someone…
Maver1ck
  • 181
  • 1
  • 1
  • 6
0
votes
1 answer

Programmatically create UIImage animation with frames

I am generating a bunch of frames which I want to animate on my Apple Watch. According to info I've found on the internet, everyone seems to be using imageWithName to animate a UIImage, such as the following SO post: Is it possible to animate an…
vaid
  • 1,390
  • 12
  • 33
0
votes
1 answer

How long iOS app is running if Apple Watch wakes it up?

When I call sendmessage on the watch, and send a message to the iPhone app, but the iPhone app is not running then the iPhone app wakes up, it's didfinisihlaunching method is called. As the documentation says: "Calling this method from your WatchKit…
SPQR3
  • 647
  • 7
  • 20