7

Apple announced CarPlay feature and some of the 3rd party apps are already integrating it (Spotify, Beats Radio, iHeartRadio)

What is the first step to add a CarPlay support to an existing iOS Xcode project? I cannot find any information on it like adding a new target, supported device type etc.

Rafał Sroka
  • 39,540
  • 23
  • 113
  • 143
  • 6
    probably the first step is to sign yet another NDA. – vikingosegundo Mar 03 '14 at 19:02
  • 4
    I do not think that this is too broad. It is a valid question, while it might not be easily answered. +1 – vikingosegundo Mar 04 '14 at 12:29
  • 2
    I agree it is a valid question, i've seen worse and highly voted though, vote to Reopen. – Tarek Hallak Mar 13 '14 at 08:11
  • I believe it is currently under exclusive agreements between certain apps and Apple. You will likely need to contact Apple for access to the APIs. – Tim Mar 13 '14 at 10:14
  • Here's an article you may find interesting http://macdailynews.com/2014/03/06/apples-new-carplay-api-allows-developers-to-easily-add-carplay-support-to-third-party-apps/ – Popeye Mar 13 '14 at 11:56
  • As of now (March 2014), Apple is only working with a few hand-selected developers for CarPlay, so even if you figured out how to hack in CarPlay support, your app would almost certainly be rejected from the App Store. I'm betting Apple will release the CarPlay API at WWDC this year. They will probably start accepting CarPlay-enabled apps once iOS 7.2 or iOS 8.0 is released (but that's purely speculation). – aapierce Mar 13 '14 at 21:17

2 Answers2

1

Take a look at MediaPlayer Framework. There are a bunch of classes in there designed for CarPlay only. For example, MPPlayableContentManager, MPContentItem, etc. Obviously, you won't be able to develop using it without Apple's approval.

Boon
  • 40,656
  • 60
  • 209
  • 315
0

You're probably not going to find any public SDK info about CarPlay since it really feels like it's in the "beta" phase of rollout before general distribution. As far as initialization goes, I suspect you'll just be making an separate UIScreen object that represents the CarPlay window instead of your iOS device if it's anything like how AirPlay works today. See here: Multiple Display Programming Guide for iOS.