Questions tagged [apple-watch]

The Apple Watch is a smartwatch that was announced by Apple on September 9, 2014, with first deliveries in April 2015. Its third-party API, WatchKit, was released in November 2014. Use this tag for questions relating to Apple Watch hardware. For software questions, use the [watchkit] tag.

The Apple Watch is a smartwatch that designed to work with iPhones running iOS 8 or later (except for the iPhone 4s – iPhone 5 and later only). It features a "Digital Crown" as a novel input mechanism and comes in aluminum, stainless steel, and 18-karat gold variations.

The watch uses the WatchKit framework for development and presumably runs on an iOS variant.

Apps are meant to be lightweight and companions to their iPhone app counterparts, rather than replacements. They can be either Glances (obsolete since watchOS 3), which offer up timely information in a readable format, or full-fledged Watch Apps.

Watch Apps can be either hierarchical or page-based, and use a grid-based layout system as opposed to iOS's standard Auto Layout system.

Apple is focusing on these key areas:

Resources:

Samples:

2380 questions
1
vote
2 answers

WatchKit, AttributedString formatting not working

I am building my first WatchKit App and am having troubles with NSAttributedString formatting as it does not seem to work as I'd expect ;) This is my code: UIFont *textFont = [UIFont fontWithName:@"Menlo" size:30]; UIFont *hlFont = [UIFont…
1
vote
2 answers

Firing apple watch notification

I've a todo app and I need a notification to be displayed to the watch at the scheduled todo time. How do I do this? I've read that iOS local notification automatically fires notification in the watch. Is it possible? If yes, do I need to add any…
1
vote
1 answer

Is it possible to create an array of buttons in WatchKit?

I have a view in a Watch app Im working on with 8 buttons, I would like to be able to put them into an array to make it cleaner and easier to set background images as well as set an action for each in a loop. As far as I can tell, this isn't…
hagata
  • 11
  • 2
1
vote
1 answer

Compare WKInterfaceLabel Text to Another NSString

I know there is no getter method for WKInterfaceLabel, but is there another way for me to compare the label text to another string? If this wasn't a watch app and I was using UILabel I could just do this: if ([self.label.text…
raginggoat
  • 3,570
  • 10
  • 48
  • 108
1
vote
1 answer

How to check if 2 images match each other - Swift Apple Watch

My code is randomly generating 2 separate images on the same interface controller. I need to check if the images match each other, but i'm unsure how to go about this as they are being randomly generated. I have tried writing if statements such…
Nick89
  • 2,948
  • 10
  • 31
  • 50
1
vote
2 answers

Apple watch video playback

Can apple watch capable of video playback? I want to develop an app similar to vine for apple watch. So, user can consume video conveniently from the watch. Is it possible? I have played with animating multiple images to create a video but it…
cloudy45man
  • 391
  • 2
  • 19
1
vote
2 answers

How to submit iPhone app (with watch kit extension and watch app) to app store?

I'd like to know how the process differs from the existing iPhone app submission procedure, as by following the usual process leads to an error of invalid binary after the app gets successfully submitted to App Store.
Vamsi Krishna
  • 585
  • 6
  • 17
1
vote
2 answers

To openParentApplication not responding handleWatchKitExtensionRequest in Watchkit Extension

I am trying to implement apple watch extension. I need to call my iPhone application class methods to trigger the web request. I saw this method in apple documentation i am trying the same.But this method is not calling -…
simbesi.com
  • 1,539
  • 3
  • 17
  • 27
1
vote
2 answers

How can I simulate my Apple Watch app? - Xcode 6.3

I updated to Xcode 6.3 and can't find the Hardware < External Display < etc. to access the Apple watch simulator. It seems like Hardware was replaced by 'Product' but I still can't find the 'External Display'.
Python_is_cool
  • 137
  • 1
  • 4
1
vote
1 answer

Send Apple Watch notification to iPhone

For Objective-C, is it possible to send notification from iPhone to Apple Watch? Is the reverse possible? If yes, please guide me by some code or link.
Krutarth Patel
  • 3,407
  • 6
  • 27
  • 54
1
vote
2 answers

What happens to a WatchKit app when iPhone is turned off?

Let's say I want to create a WatchKit app that shows the seconds for the current time. What happens if iPhone gets turned off (e.g. battery drained), then user starts the app on the Watch device? As far as I know, every (!) code runs on the iPhone…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
1
vote
1 answer

How to add multiple apple watchkit app for multiple targets single iPhone app

I have an iOS application with several targets. I want to create multiple apple watchkit app for different targets in single iPhone app. EX: iOS application having two targets name like "ABC" and "XYZ". Now I want to add two apple watchkit app for…
1
vote
0 answers

How to get Timer value of iphone in iwatch as Notification?

Can you please guide me how to send timer value in iWatch as Notification? For example : Exercise time will be send to iwatch Notification ? is there any Official Way ?
Krutarth Patel
  • 3,407
  • 6
  • 27
  • 54
1
vote
1 answer

Cannot use NSAttributedString on WKInterfaceLabel

I want to display certain characters in a WKInterfaceLabel as underlined. When the range location is 0 (= the beginning of the string), it works correctly, regardless of the length - the characters in the range are underlined. But setting the…
thomers
  • 2,603
  • 4
  • 29
  • 50
1
vote
1 answer

How do you query the current value of WKInterfaceSlider in Swift

How do you get the current value of a WKInterfaceSlider in Swift? I can't find it in the docs anywhere? I can get the value when the slider is changed, however how to I query its state upon initialization?
justdan0227
  • 1,374
  • 18
  • 48
1 2 3
99
100