Differentiating between Siri remote D-pad taps and universal remote D-Pad presses
Differentiating between Siri remote D-pad taps and universal remote D-Pad presses
- Subject: Differentiating between Siri remote D-pad taps and universal remote D-Pad presses
- From: Ilia Katz <email@hidden>
- Date: Thu, 25 Jan 2018 21:43:52 +0200
I am using the `pressesBegan(_ presses: Set<UIPress>, with event:
UIPressesEvent?)` function in my view controller to capture universal
remote's D-Pad's left & right arrows presses. That works fine. The problem
is that taps on the Siri remote go through the same `pressesBegan` function
as well (going through `touchesBegan` first). Is there a way to
differentiate between the two in the `pressesBegan` function. Maybe an
alternative solution?
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden