Questions tagged [wkinterfaceobject]

The WKInterfaceObject class is the base class for all interface objects in your app. Your WatchKit extension uses interface objects to manipulate the visual elements displayed on Apple Watch. This class provides information that is common to all interface objects in your app.

4 questions
9
votes
4 answers

WKInterface button doesn't change title

I'm trying to change the title of a button after I call back from a notification but it doesn't respond at all. I checked it's not nil and checked the text Im' assigning and all is good. I made the property type strong instead of weak but no…
Ali
  • 4,205
  • 4
  • 25
  • 40
2
votes
3 answers

How do I change the height type of a WKInterfaceObject programmatically?

In a WatchKit storyboard, if you add a WKInterfaceObject (e.g. WKInterfaceGroup), you have the following height and width options: Size To Fit Content Relative to Container (value and Adjustment) Fixed (value) In the WKInterfaceObject header,…
Senseful
  • 86,719
  • 67
  • 308
  • 465
1
vote
1 answer

WKInterfaceButton IBAction is sending nil sender

2015-05-02 23:56:34.047 TapIt WatchKit Extension[1398:18615] b: 2015-05-02 23:56:34.048 TapIt WatchKit Extension[1398:18615] sender: (null) - (IBAction)tapped:(id)sender { bool success = false; NSLog(@"b:…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
0
votes
1 answer

How to loop video in watchOS 2?

How do you loop a watchOS 2 video so it plays over and over forever? All I have right now is the video playing once. What code should I add to change that?
Leo
  • 115
  • 1
  • 10