How can I show Map on carplay display in iOS 14.0 above.
Is there any way to check map navigation on carplay display screen?
Posts under CarPlay tag
90 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
How to get list of current active CarPlay connections on iPhone programmatically ?
Assuming that I have an iOS app which is managing the payment method of the user (e.g. credit card), what is preventing me to build a CarPlay app (e.g. EV charging app) with a button that triggers the payment of the charging station?
I mean, what are the advantages that will be introduced with iOS 16 that will allow the payment of gas stations from CarPlay?
Hello,
I'm curious if it's possible to only show the directional arrows from CarPlay on the HUD while navigating. Can the visuals presented on CarPlay be distinct from what is displayed on the HUD? If this can be achieved, I would be grateful for some guidance on the matter. Thank you in advance.
so I want to display push notification on my carplay app. Is that posible with entitlement audio? If that posible what action that permit by apple if I click that push notification? Thank you
We are having Apple Coprocessor 2.0x and we are trying to use Plugin version R16E14 but as soon as we start the CarPlay session, it ends itself without throwing any error. Is there any compatibility issue?
Hello!
Is there a way to change the app name for the Carplay app? Currently our app's name is getting truncated and we would like to change it something shorter rather have it truncated.
See attached image for an example of how Amazon music app is truncated. This is what we're trying to avoid.
Thanks!
HI everyone, my little project is to create an infotainment system based on apple carplay but I don't know what "carplay" really is, if an operating system or an app to be installed on linux, also because I haven't found any information on how implement carplay.
At my disposal I have a raspberry pi4 and a 5 inch screen.
I have created a CarPlay app that displays local notifications. The notification displays on iPhone but in CarPlay, the notification never displays.
When registering for the notification via requestAuthorization, we are passing .carplay into the options. This results in the "Show in CarPlay" option to show up in the Notification settings for the app. However, even with this option enabled, no notification is ever displayed on the CarPlay screen.
The CarPlay app we have created is the automaker type. Does this app type have additional notification restrictions?
I write a empty class for deinit test
class MyEmptyModel {
deinit {
print("MyEmptyModel deinit")
}
}
Every tab in CPTabBarTemplate must be visited at least once, after which deinit is called.
so it can cause memory issue if user doesn't visit all tabs.
I think it's a bug.
here's a code I wrote for test.
is there any code wrong?
// create first tab list template
let firstItem = CPListItem(text: "firstItem", detailText: "hoho")
firstItem.handler = { _, completion in
let firstInnerItem = CPListItem(text: "firstInnerItem", detailText: "haha")
firstInnerItem.handler = { _, completion in
print("firstInnerItem!!")
completion()
}
firstInnerItem.userInfo = MyEmptyModel()
let firstInnerSection = CPListSection(items: [firstInnerItem])
let firstInnerList = CPListTemplate(title: "First Inner", sections: [firstInnerSection])
firstInnerList.emptyViewTitleVariants = ["First Inner empty"]
interfaceController.pushTemplate(firstInnerList, animated: true) { _, _ in
completion()
}
}
let firstSection = CPListSection(items: [firstItem])
let firstList = CPListTemplate(title: "First", sections: [firstSection])
// create second tab list template
let secondItem = CPListItem(text: "secondItem", detailText: "hoho2")
secondItem.handler = { _, completion in
let secondInnerItem = CPListItem(text: "secondInnerItem", detailText: "haha2")
secondInnerItem.handler = { _, completion in
print("secondInnerItem!!")
completion()
}
secondInnerItem.userInfo = MyEmptyModel()
let secondInnerSection = CPListSection(items: [secondInnerItem])
let secondInnerList = CPListTemplate(title: "Second Inner", sections: [secondInnerSection])
secondInnerList.emptyViewTitleVariants = ["Second Inner empty"]
interfaceController.pushTemplate(secondInnerList, animated: true) { _, _ in
completion()
}
}
let secondSection = CPListSection(items: [secondItem])
let secondList = CPListTemplate(title: "Second", sections: [secondSection])
// create third tab list template
let thirdItem = CPListItem(text: "thirdItem", detailText: "hoho3")
thirdItem.handler = { _, completion in
let thrdInnerItem = CPListItem(text: "thirdInnerItem", detailText: "haha3")
thrdInnerItem.handler = { _, completion in
print("thirdInnerItem!!")
completion()
}
thrdInnerItem.userInfo = MyEmptyModel()
let thirdInnerSection = CPListSection(items: [thrdInnerItem])
let thirdInnerList = CPListTemplate(title: "Third Inner", sections: [thirdInnerSection])
thirdInnerList.emptyViewTitleVariants = ["Third Inner empty"]
interfaceController.pushTemplate(thirdInnerList, animated: true) { _, _ in
completion()
}
}
let thirdSection = CPListSection(items: [thirdItem])
let thirdList = CPListTemplate(title: "Third", sections: [thirdSection])
// create tabbar template and set to root template
var tabBarTemplates = [CPTemplate]()
tabBarTemplates.append(firstList)
tabBarTemplates.append(secondList)
tabBarTemplates.append(thirdList)
let tabBarTemplate = CPTabBarTemplate(templates: tabBarTemplates)
interfaceController.setRootTemplate(tabBarTemplate, animated: false) { _, _ in
}
Hi,
I am writing to inquire about the status of our app’s Apple CarPlay Entitlement file request. I submitted the request for the entitlement file on June 19, 2023, and as of now, I have not received any update regarding its processing.
Request Submission Date: June 19, 2023
Case-ID: 3402369
I would greatly appreciate if you could kindly check the status of my entitlement file request and provide an update on this. If there are any additional informations needed from my end to quicken the process, please let me know, and I will promptly provide them.
Thanks
I test my music app which supports CarPlay.
CarPlay limits maximum number of items with CPListTemplate.maximumItemCount.
my test case(real iPhone and CarPlay Simulator) CPListTemplate.maximumItemCount is 500.
so I can show 500 items in CPListTemplate.
however when I test with Apple Music App,
(which has a playlist contains over 1000 songs)
all songs can be presented.
(I can scroll first song to last song.)
I guess there's a reload list logic, because the limit count(500 items in list) should be same.
but I don't know when should I reload items.
because CPListTemplate is not UITableView, so I can't check an item position in list.
I checked CPListItem, CPListTemplate and CPInterfaceController in documentation, I can't fine any hint for that.
is there any ideas for showing all contents?
Is it possible to completely remove the before/next buttons from the CPNowPlayingTemplate?
I've already tried to set live-streaming mode, but the buttons are still there.
My app uses UNMutableNotificationContent() to play a custom sound, and has a phrase as a message. I just got a vehicle with CarPlay. When my iPhone is connected to CarPlay, when the notification goes off at a time, it shows on the iPhone, but does not make any noise whatsoever. What I'd like to happen, is for CarPlay to announce the message when the notification goes off, like it does with Apple's messages app. As my phone is set right now, when I have my airPods in, it will announce the notification from my app. But not for CarPlay.
What do I need to add to my app to allow CarPlay to announce the message that comes in from a notification (again, local, not a push notification).
I have an app with the "Driving Task" CarPlay entitlement. When I ask for permission for notifications in CarPlay (UNAuthorizationOptionCarPlay), and I check "carPlaySetting" in the UNNotificationSettings after granting permission, it get a value "UNNotificationSettingNotSupported" (the setting is not available to your app).
Is this a bug? It feels like one. The app shows distances to some locations, and provides warnings to the user when approaching those locations. It is common for my users to use it at the same time they use a navigation app and switch between the two apps. But when they have the navigation app in foreground, they ask why my app is not showing notifications when giving an audio warning.
The notifications are not even shown on the screen of the iPhone, the screen is turned off in iPhone 14 Pro when connecting to CarPlay, and the screen does not turn on when the app is in background in CarPlay and tries to show a notification.
This issue only happens on my phone, 12 Pro. My wife has a 12 Pro Max and carplay don't have any issues. Using phone app in carplay was working several days ago. I'm on IOS beta program and I have 17.0. The person on the other end of the call said that he thinks he hear a sound when I'm talking but it's not my voice. When I switch to use speaker on my phone then the other party can hear me clearly. But the sound now is on my phone not on the car's speaker. I know it's not my phone's mic coz I can use Siri on carplay. Also, it's not my car's mic coz my wife's 12 Pro max works fine. My wife's phone is NOT on the IOS beta program. I already did RESET ALL SETTINGS and still the same. I am hesitant to factory reset it, I have a lot on my phone.
Is there a setting I'm missing?
Does anybody have insight into why Apple would give a developer map display entitlement but would forget to give audio entitlement? We've contacted Developer support and keep being told they are investigating and to wait...it's been several MONTHS. Beginning to think they might be revamping CarPlay which may require all new entitlements. Anybody have any similar experience? Thanks in advance for your help.
I have a CarPlay app displaying a set of POIs using the CPPointOfInterestTemplate.
I'd like to update values in the existing POIs (or replace the POIs with new ones).
The only method I see to do this is:
setPointsOfInterest()
I can call this, but this appends my new set of POIs rather than completely replacing the existing POIs.
Is there a way to do this?
Thanks!
Hello!
Is there a possibility to test automaker-type app on newly released in additional tools CarPlay simulator?
Our application is not showing on it, and i assume the problem is that we didn't put proper protocol string.
Hi all,
I am trying to use the new CarPlay Simulator (the one provided with the Xcode Additional Tools) to test an application that uses a protocol string. My question is: is there a way to edit this protocol string on this application? Because as of right now, my app is not shown in the CarPlay Simulator, as it does not have the required protocol string.
I've used the Xcode simulator, and protocol strings can be added using:
defaults write com.apple.iphonesimulator CarPlayProtocols -array-add <protocol-string>
But I've not found a way to do this on the standalone application.
Thank you all in advance