Can I use Digital Crown for WKInterfaceSlider?
Or, how do I access Digital Crown to select a value?
Can I use Digital Crown for WKInterfaceSlider?
Or, how do I access Digital Crown to select a value?
BUMP. I would like to know this too. I have been unable to figure out how to do this
I think you need to use WKInterfacePicker.
It should be possible indirectly.
Use an InterfacePicker and add a dummy array to it with the same number of steps as the Slider, but don't show the picker in the interface (It's minimum dimensions seem to be 2x2, not sure if it's still accessible if it's Hidden, haven't tried) then in the Picker's @IBAction func pickerAction(value: Int) use that to update the value of the Slider to match.
If you set the Picker's focus style to None and Indicator to Disabled then no-one needs to know it's there. In code setting picker.focusForCrownInput() will make it priority for input.
The only issue I've seen with this, is if the Interface is longer than the screen the crown reverts to scrolling the page itself and not the picker. Oh and it's a bit slow to get the picker updates (on device, not simulator)
Is there any news about this topic? Because i have a Slider in my watchKit App and wanted to change the values of the slider with the digital crown. Thanks in advice for any help :)
Um isn't that exactly what svarrallposted? How to do that exactly?
Mark