How can I detect a “button click”, and not just a click, on the touch panel on a remote Siri?
EDIT: My main problem was that my look at UIButton received the event.
By reading the UIPressesEvent. Gesture and Button Detection
override func pressesEnded(presses: Set<UIPress>, withEvent event: UIPressesEvent?) { for press in presses { if (press.type == .Select) { // Select is pressed } else { super.pressesEnded(presses, withEvent: event) } } }
My main problem was that in my view there was a UIButton that received this event. After disabling this button, pressesBegan / pressesEnded is called in the storyboard.
Source: https://habr.com/ru/post/1615243/More articles:Null Check increasing cyclic complexity - javaCamel Update on Servicemix - bundleReducing cyclic complexity, multiple statements if - javaNeed advice on pushState and onpopstate - javascriptCDEE injection in TomEE Arkillian testing with web sockets - websocketКак передать пустой список с параметром типа? - javaForce touch with tvOS - tvosИндексирование Википедии dump to elasticsearch получает структуру XML-документов, которые должны начинаться и заканчиваться внутри одной и той же ошибки сущности - xmlAngularJS: ng-click and select text - javascriptASP.NET MVC6 architecture not working in BETA 8 - asp.net-coreAll Articles