Search code examples
iossliderwatchkitapple-watch

WKInterfaceSlider behavior like in Watch’s Now Playing


How can I implement same border appearing behavior over a slider (or group) when user changes volume value by digital crown? I have insert a video which demonstrate this.


Solution

  • I have implemented this by using ValueAnimation from this question. Instead of using NSTimer I use GCD-based timer to have more flexibility. See RXTimer or DispatchTimer for more info.