0

I am trying to build a prototype where I want to launch Siri every time I press a button (on my guitar). I have been looking into using private APIs but haven't been able to find a solution yet. Any pointers? In particular I looking into long pressing the lock button programmatically in order to launch Siri.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
castillejoale
  • 519
  • 4
  • 13
  • 1
    You can do it via Bluetooth if you have hardware that implements the Handsfree Profile. See chapter 15 in https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf. You would need your own hardware to do this. You can't do it on the phone apart from long press on home (Side on iPhone X) or "Hey Siri" – Paulw11 Jul 12 '19 at 05:20
  • Very cool, thank you for the link. Any pointers on the code to trigger that long press on home (sinde on iphone X) programatically? I have been looking into the private api's but headers change constantly and can't see anything for iOS 12+ – castillejoale Jul 12 '19 at 16:36

0 Answers0