Questions tagged [watchos]

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with iOS, which is the operating system for Apple's mobile devices, but shouldn't be confused with it.

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with , but shouldn't be confused with it.

Currently, the Apple Watch is the only device that runs watchOS. Its API is called WatchKit (see ).

Helpful links

1236 questions
0
votes
2 answers

Send and receive messages from iPhone to Watch from multiple Controllers

What is the proper way to handle communication sent and received from multiple controllers? What I'm trying to do is send a message from two different viewControllers from iOS to two different interfaceControllers in WatchOS (separately, NOT at the…
fs_tigre
  • 10,650
  • 13
  • 73
  • 146
0
votes
0 answers

presentMediaPlayerController(with:options:completion:)' has been explicitly marked unavailable here

I am trying to play sound using the apple watch speakers I am getting these error messages 'presentMediaPlayerController(with:options:completion:)' is unavailable also: WatchKit.WKInterfaceController:28:15: note:…
iShaalan
  • 799
  • 2
  • 10
  • 30
0
votes
1 answer

Understanding builds for Watch-iPhone app in XCode

I have an iPhone app with an Apple extension and when I build the app in XCode only the Watch app starts building, I see both simulators but the iPhone app doesn't launch, is this a normal behavior when testing iPhone+Watch app? I would like to have…
fs_tigre
  • 10,650
  • 13
  • 73
  • 146
0
votes
0 answers

outstandingFileTransfers property in the WCSession contains even successfully transferred files

I am transferring a few files from an Apple Watch (Watch OS 3) App to the counterpart iOS App (iOS 10). The file gets transferred to the iOS App successfully, but still shows up in the outstandingFileTransfers property on the WatchApp Extension. Can…
0
votes
1 answer

Moire effect with core graphics on watchOS?

On watchOS I draw a circle using the following code: // Create a graphics context UIGraphicsBeginImageContext(CGSize.init(width: 18.0, height: 18.0)) let context = UIGraphicsGetCurrentContext() // Draw a circle let rect = CGRect.init(x: 1.0, y:…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
0
votes
0 answers

WatchOS does not recognise if the companion app on iPhone is quit

i'm now develop a watch app that will be running together with iOS companion app. So it is important to know whether the app is running and linked or not. For now, i can know the state of the watch app through iOS app, but i could not know the state…
wes. i
  • 627
  • 9
  • 26
0
votes
1 answer

How to italicize text on watchOS 3 complication?

If you look at the calendar complication on watchOS 3, the second row of text below the date is italicized. I've searched the documentation high and low but can't find anything. I'm using all three providers in…
Moshe
  • 57,511
  • 78
  • 272
  • 425
0
votes
0 answers

removeAllDeliveredNotifications on watchOS3

How can I remove delivered notifications on watchOS? override func willActivate() { super.willActivate() UNUserNotificationCenter.current().removeAllDeliveredNotifications() } It doesn't work.
0
votes
1 answer

watchOS app resets to root view controller after display sleep

I'm implementing a simple hierarchical interface for a watchOS app, using pushController(withName: String, context: Any?) to add views onto the stack. When trying to test on a watchOS 3 device, my app will reset itself back to the root view…
endemic
  • 1,369
  • 1
  • 10
  • 20
0
votes
1 answer

WKWatchConnectivityRefreshBackgroundTask competing with WCSessionDelegate

I'm trying to adapt my code from using only WCSessionDelegate callbacks in the foreground to accepting WKWatchConnectivityRefreshBackgroundTask via handleBackgroundTasks: in the background. The documentation states that background tasks may come in…
greg
  • 4,843
  • 32
  • 47
0
votes
1 answer

Is it possible to use watchOS 3 vertical detail paging with a page-based interface?

I am looking to update my watchOS app with the latest watchOS 3 improvements, but I am running into an issue getting the new WKInterfaceTable vertical paging to work. It seems that vertical detail paging requires you to use the hierarchical…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
0
votes
1 answer

How to set Apple Watch title for VoiceOver AccessibilityLabel

Is there any way to change the AccessibilityLabel of a WKInterfaceController title? Or to turn off just the title VoiceOver? I have shortened the title to X|Y to show the user what they are viewing but this is not very user friendly for someone…
0
votes
1 answer

how can I display labels on apple watch?

Xcode 8.0 I try to code my very first app for watchOS. I simply want to show a note when pressing the button. Here is what I've got so far: import WatchKit import Foundation class InterfaceController: WKInterfaceController { @IBOutlet var…
0
votes
1 answer

WKInterfaceGroup in table highlights contained button on touch down

I have found if you implement a WKInterfaceTable, the row controller contains a WKInterfaceGroup, and if you add two WKInterfaceButtons to the group, one of which is disabled (or hidden), and you tap down on this button, it will highlight the entire…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

How many queues can transferUserInfo make

I am using transferUserInfo to send stats data to the watch. When the watch is asleep or idling (showing clock), and the phone app is running, there will be many infos being transferred (triggered by a repeating timer). How many "userinfo" queues…
GeneCode
  • 7,545
  • 8
  • 50
  • 85