IOS AirPlay Action Sheet for publishing a public app store - for example, in Spotify

I’m working on a project that includes selecting an AirPlay endpoint, and I wondered how the Spotify guys made the following choice in the application of available AirPlay endpoints (you can see the AirPlay icon / message at the bottom of the application, which, when listening, leads to you will see through the Control Center, similar to the Action Sheet):

Spotify AirPlay Action Sheet

From what I know, the only “publicly available" API that can be used for this kind of thing is MPVolumeView , which is not necessarily the same as the volume controller and the button for launching such an action sheet.

MPAudioVideoRoutingPopoverController, API, , , Spotify, , ? ( , API Apple)

, - , Apple ? ..: iOS: Airplay picker MPVolumeView MPVolumeView , ?

0
1

, MPVolumeView, , ( ) .

0

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


All Articles