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

Can I build my own networking framework (which is dependent on AFNetworking) as a watchOS2 framework?

I've been trying to modify my project to support WatchOS2 architecture. Currently I have a networking framework that is based on AFNetworking. I've been using it with my watch app so far. Now I'm trying to build the framework for…
Emel
  • 209
  • 2
  • 8
10
votes
1 answer

Use Cocoa Touch Framework in iOS and WatchKit

I have a Cocoa Touch Framework that I developed for using in both my iOS app and my WatchKit app on iOS 8. I have no problems with iOS 8, however when I move the project to iOS 9 and update the WatchKit app to run natively I get the following…
g0ld2k
  • 519
  • 4
  • 17
10
votes
4 answers

Can I build a stand alone Apple Watch app?

In WWDC 2015 it is mentioned that watch supports native apps but I fail to see the option in new Xcode 7 for the way to just build an apple watch app without the companion app. Please let me know the way to do so, if it exists.
Vamsi Krishna
  • 585
  • 6
  • 17
9
votes
1 answer

Where should data reside in a watchOS app?

I've been going through all of the Apple documents and videos related to creating watchOS apps, complications and the like. Carefully studying the flow of updating data and the user interface - yet there's one thing I didn't manage to figure out. In…
Itamar
  • 1,290
  • 1
  • 18
  • 29
9
votes
1 answer

Can we rotate the digital crown in Apple Watch simulator without having a mouse- or trackpad?

The only reference I can find in operating (rotating/turning) the digital crown on the Apple Watch 2.0 / 3.x simulator is by using a track/mouse-pad. Is it possible with a mighty mouse to rotate/turn the digital crown in a simulator?
iOS-Coder
  • 1,221
  • 1
  • 16
  • 28
9
votes
2 answers

Detect changes in NSUserDefaults with suiteName

In my project i use app group to transfer data to apple watch! This look like this let sharedDefaults = NSUserDefaults(suiteName: "group.com.myappname.defaults") sharedDefaults?.setObject(MyData, forKey: "DataKey") sharedDefaults?.synchronize() In…
Dmitry
  • 2,963
  • 2
  • 21
  • 39
9
votes
2 answers

WCSession's transferUserInfo no longer reliably working in watchOS 2.2 with iOS 9.3

I have an existing iOS 9.2 and watchOS 2.1 app that uses sendMessage and transferUserInfo to send data from the iPhone to the Apple Watch. If sendMessage fails, I am using transferUserInfo to queue the data for later delivery: // *** In the iOS app…
lehn0058
  • 19,977
  • 15
  • 69
  • 109
9
votes
4 answers

Xcode Run Apple Watch target results in Finished running app on Watch

I am trying to debug my watch app. I build and try to run as usual. It says Build succeeded, installing to watch etc. but then, instead of launching my app, it says Finished running app on watch. I've restarted Xcode, reinstalled my app on watch…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
9
votes
2 answers

Get the selected index from WKPickerInterface

I can get the WKInterfacePicker to call pickerDidSettle, but how can I get the index of the selected item? @IBAction override func pickerDidSettle(picker: WKInterfacePicker) { print("Picker settled to index: \(picker)") }
RawMean
  • 8,374
  • 6
  • 55
  • 82
9
votes
1 answer

How can I draw custom graphics on Apple Watch?

How can I draw custom graphics on Apple Watch? If I understand it correctly, we can only use images and standard controls on Apple Watch. If so, is it possible to draw custom graphics on images in the memory and then put these images on the screen?
Dmitry
  • 14,306
  • 23
  • 105
  • 189
9
votes
1 answer

Is Automated UI testing on watchOS possible

Automated UI testing/Unit testing is not a myth in iOS but can automated UI testing be done on the watchOS?? Any new feature with watchOS 2 or Xcode 7 that I missed. I looked into the profiler but I could not figure out how to automate testing on…
Satheesh
  • 10,998
  • 6
  • 50
  • 93
9
votes
1 answer

How to display image in watchOS complication

I'm currently setting up complications for my watchOS 2 app. I want to offer three different types of complications: Utilitarian small Modular smallist item Circular small All these complication types should simply display my app icon as an image.…
fredpi
  • 8,414
  • 5
  • 41
  • 61
9
votes
4 answers

Using WCSession with more than one ViewController

I found many questions and many answers but no final example for the request: Can anyone give a final example in Objective C what is best practice to use WCSession with an IOS app and a Watch app (WatchOS2) with more than one ViewController. What I…
Ing. Ron
  • 2,005
  • 2
  • 17
  • 33
9
votes
2 answers

Xcode 7: WatchOS storyboards do not support target device type 'iphone'

I have imported an Xcode 6 project in Xcode 7 beta 5 with a Watch target and I get the following message: WatchOS storyboards do not support target device type 'iPhone' I clicked on the storyboard and removed it from the App target (left only the…
mm24
  • 9,280
  • 12
  • 75
  • 170
9
votes
1 answer

Upgrading existing watchOS 1 project to watchOS 2

I don't want to keep and support watchOS 1, instead, I want to upgrade my existing watchOS 1 project to watchOS 2 without recreating an Interface.Storyboard and etc. Apple Doc isn't very specific to resolve this case: watchOS 2 Transition…
Kevin
  • 828
  • 11
  • 14