Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Watch: Input number by Digital Crown like Alarm app

Tags:

watchkit

How to increase/decrease number by Digital Crown like Alarm app?

https://www.apple.com/watch/timekeeping/

like image 377
user3619352 Avatar asked May 05 '15 18:05

user3619352


1 Answers

As of WatchOS 2, it is now possible to access the Digital Crown for certain kinds of input.

To do so, create a WKInterfacePicker. The items presented for the user to select between can be text, images, or a combination of both.

To use the WKInteracePicker, add it your interface in your WatchKit App and add an outlet to your interface controller in your WatchKit Extension. Then, for the interface controller call myPicker.focus().

See the Apple documentation for fuller information.

like image 89
Duncan Babbage Avatar answered Jan 01 '23 01:01

Duncan Babbage