Questions tagged [wkinterfacegroup]

A WKInterfaceImage object lets you manipulate an image in your WatchKit app’s interface. You use image objects to change the current image being displayed and to start and stop the animation of a sequence of images.

A WKInterfaceImage object lets you manipulate an image in your app’s interface. You use image objects to change the current image being displayed and to start and stop the animation of a sequence of images.

It is important to note the following:

Do not subclass or create instances of this class yourself. Instead, define outlets in your interface controller class and connect them to the corresponding objects in your storyboard file. For example, to refer to an image object in your interface, define a property with the following syntax in your interface controller class:

@IBOutlet weak var myImage: WKInterfaceImage!

Source: WKInterfaceImage in the Apple Documentation.

25 questions
1
vote
1 answer

WatchKit basic text animations

Is it possible to reproduce the basic animations we can see on the demo page : http://www.apple.com/watch/health-and-fitness/ We can see some text appearing/disappearing. I wonder if they did it, can we make it too or we don't have access to the…
Mathieu
  • 1,175
  • 4
  • 19
  • 34
1
vote
2 answers

Is it possible to get the child elements of a WKInterfaceGroup programmatically?

Rather than Ctrl + dragging from interface builder, is there a way to access the child elements of a WKInterfaceGroup programmatically ?
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
1
vote
1 answer

WKInterfaceGroup spacing not perfectly 0 sometimes (WatchKit)

I set up a group in my WatchApp Storyboard which has a width relative to container 1 and height relative to container 0.5. Inside this group I have 20 horizontal aligned groups with a width relative to container 0,05. The spacing of the group is…
iVentis
  • 993
  • 6
  • 19
0
votes
1 answer

How to detect a tap on a WKInterfaceGroup added within a table row controller?

So this is my InterfaceController hierarchy: -> InterfaceController -> Table -> RowController -> Group A -> Group B -> Gesture I've also implemented override…
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

Vertical spacing between WKInterfaceGroup

I want to reduce the vertical spacing between two groups so that they nearly overlap each-other. is there any way to do this.
Iqbal Khan
  • 4,587
  • 8
  • 44
  • 83
0
votes
1 answer

Can WatchKit WKInterfaceGroup be a Button?

(using iOS8.3, Xcode6.3, OSX10.10.3) Hi, I wonder if a WatchKit WKInterfaceGroup can be a Button ?? In my watchkit-application, I would like to maximize the touch-surface for a particular action. I know that one can place one or more buttons in a…
iKK
  • 6,394
  • 10
  • 58
  • 131
0
votes
2 answers

No visible @interface for 'WKinterfaceGroup' declares the selector: has something changed in iOS 8.3?

I am using iOS SDK 8.3 and trying to follow this tutorial to create a table in a watch kit app. I added an Table on interface controller of the iWatch app and then linked it to my InterfaceController. The I created a custom row class and linked the…
mm24
  • 9,280
  • 12
  • 75
  • 170
0
votes
0 answers

Watchkit space between groups

I have two groups, one below the other, and I see a space between the bottom of the first and the top of the second: Here's my scene and here's the simulator screenshot. I tried modifying the group spacing property, but it doesn't seem to…
Franlon
  • 147
  • 6
0
votes
0 answers

How can we make any object flow on table or other object in apple watch

Simply like the text input controller I tried put table inside a group with buttons inside a group below it, thought the group could scroll like a scrollView but failed. [well i can't send image yet...] so any help here?
WeeTom
  • 11
  • 1
  • 4
1
2