I want a single view application which detect button click of iPhone headphone for below situations:
- original iPhone headset
- AirPods Pro via Bluetooth
I tested several code in stack overflow but they didn’t help me. may I should active permission as well