How can I detect a "click press", not just a tap, on the touchpad on siri remote?
EDIT: My main problem was that my view had an UIButton that received the event.
By reading the UIPressesEvent's. Detecting Gestures and Button Presses
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 my view had an UIButton that received the event. After disabling that button in the storyboard, the pressesBegan / pressesEnded are invoked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With