• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Differentiating between Siri remote D-pad taps and universal remote D-Pad presses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Draw an arc given 2 angles.
  • Next by Date: Crash in Touchbar
  • Previous by thread: Re: Draw an arc given 2 angles.
  • Next by thread: Crash in Touchbar
  • Index(es):
    • Date
    • Thread