IPhone Headphone Touch Detection

I tried looking through the documentation, but I cannot find (or admit) what I am looking for.

The iPhone and iPod Touch have an instant switch in the headphones, which I think is called “remote” (please correct me if I'm wrong). It is used to start / stop / fast forward / rewind for music or to dial / end a phone call. I would like to know when this switch is clicked in my native application.

In what frameworks and classes will I find this?

+3
source share
1 answer

I do not believe that this functionality is supported by any current infrastructure.

iPod , MPMusicPlayerController -

, . , . , , "", - .

+1

Source: https://habr.com/ru/post/1725199/


All Articles