adding CarPlay extension to iOS app

hello last year at the WWDC Apple announced a app extension for audio playback in CarPlay for iOS apps is there a guide to add this feature because whenever I open my custom music I can hear the music playing trough the car's speakers and I see the album art, but I have no controls on the display of the car the person I white this app for is a indie producer who wants his huge collection to be available for people to enjoy there is no subscription of login

Thanks for the post.

This is where I would recommend to start: https://developer.apple.com/documentation/carplay/requesting-carplay-entitlements

https://developer.apple.com/download/files/CarPlay-Developer-Guide.pdf

After you go over the CarPlay development relies on the MediaPlayer framework to show these buttons , you need to register targets with MPRemoteCommandCenter. Add this configuration wherever you set up your audio player. Make sure you are also setting your MPNowPlayingInfoCenter.default().nowPlayingInfo with the track title, artist, and album art (which it sounds like you are already doing).*

If you want your app to have an actual icon on the CarPlay screen so users can browse the producer's albums and playlists without touching their phone, you need to use the CarPlay framework. Please remember the link above as requires a special CarPlay entitlement to allow your app to appear on a car's screen. Request the CarPlay Audio App entitlement. Once approved, add the com.apple.developer.carplay-audio entitlement to your app's Provisioning Profile and .entitlements file.

I would also recommend you to look on CarPlay samples with edits on the Info.plist and CarPlay Scene Delegate. You can use a template.

Good luck on your new development adventure.

Albert
  Worldwide Developer Relations.

adding CarPlay extension to iOS app
 
 
Q