Is there a way to access the haptic feedback via WatchKit?
1628 просмотра
3 ответа
I plan to create an Apple Watch app. Is there a way to access the haptic feedback via WatchKit?
Автор: mobileideafactory.com Источник Размещён: 12.11.2019 09:26Ответы (3)
10 плюса
No there isn't. The following is from this post https://devforums.apple.com/thread/254540?tstart=15.
Автор: Stephen Johnson Размещён: 20.11.2014 10:44There is no access to these hardware features at this time, though there is presentation of a text input controller via WKInterfaceController, which will involve the microphone. Past that, I have no information concerning forthcoming releases.
10 плюса
Yes. As of watchOS 2.0, you can give haptic feedback with the play()
method method like this:
WKInterfaceDevice.currentDevice().play(.success)
Автор: hgwhittle
Размещён: 16.06.2015 06:34
3 плюса
For now, the only way to give haptic feedback is by showing a notification.
Автор: phatmann Размещён: 24.03.2015 11:43Вопросы из категории :
- ios Приложение для iPhone в ландшафтном режиме, системы 2008
- ios Как мне дать моим веб-сайтам значок для iPhone?
- ios Как программно отправить смс на айфон?
- ios Как я могу разработать для iPhone, используя машину для разработки Windows?
- ios Tips for a successful AppStore submission?
- ios Как мне определить размер UITextView для его содержимого?
- ios iPhone viewWillAppear не стреляет
- ios Как показать индикатор загрузки в верхней строке состояния
- ios Как сохранить картинку в фотобиблиотеку iPhone?
- ios Как отключить выбор UITableView?
- watchkit How can I change image tintColor in iOS and WatchKit
- watchkit Is there a way to access the haptic feedback via WatchKit?
- watchkit Watchkit: таблица с двумя шаблонами в динамических строках
- watchkit На основе страницы «reloadRootControllersWithNames:» в цикле запуска?
- watchkit Доступ к микрофону Apple Watch
- watchkit WatchKit: невозможно найти класс контроллера интерфейса
- watchkit WatchKit и UIAlertView / UIAlertController всплывающее окно
- watchkit Есть ли способ ввода текста в Apple Watch
- watchkit Ошибка WatchKit - невозможно найти класс контроллера интерфейса для создания экземпляра
- watchkit Смотреть комплект CFBundleVersion