Settings for iPhone IOS

Hello,

I would like to work on a feature to turn off earbud button/touch controls for Bluetooth devices. I was wondering where I could start with this.