Posts

Post marked as solved
1 Replies
204 Views
I have a test like below. If using Swift: import CarPlay can works. If using Objective C: #import <CarPlay.h> will not work. (I have include the framework from project) So does it means that from Objective C, we can not using CarPlay framework and its API such as: CarPlaySceneDelegate, CPListItem, etc. Thanks very much.
Posted
by chaol.
Last updated
.
Post not yet marked as solved
0 Replies
299 Views
Before ios14, when use startCallAction, lock iphone, it will shows callkit outgoing system UI. But in ios14, this UI never shows. Only when connected to carplay, I can see this UI again. So I'd like to know is this a bug or its new design ? This behavior affect my app, needs your help, Thanks. Demo code:   CXStartCallAction *action = [[CXStartCallAction alloc] initWithCallUUID:uuid handle:handle];       CXTransaction *transaction = [CXTransaction new];   [transaction addAction:action];       [controller requestTransaction:transaction completion:^(NSError * _Nullable error)
Posted
by chaol.
Last updated
.
Post not yet marked as solved
3 Replies
475 Views
I using following method can receive notify from system when connected to ford carplay:1. NotificationCenter.default.addObserver(forName: NSNotification.Name.EAAccessoryDidConnect2. Add info.plist key Supported external accessory protocols com.smartdevicelink.prot29But I can not receive notification when using chevrolet carplay and dont know chevrolet info.plist should add what key?Any help would be appreicate!
Posted
by chaol.
Last updated
.
Post not yet marked as solved
0 Replies
653 Views
I'm doing my app that need to know if iphone connected to carplay, and do somthing before that.I've seached everywhere and found some method, but seems every method got problem.method1.if your app is music type and using key "com.apple.developer.playable-content"you can get notify when connect/disconnect from "MPPlayableContentDelegate -&gt;playableContentManager -&gt;context.endpointAvailable"But my concern: A. my app is voip type using key "com.apple.developer.carplay-calling", if I using MPPlayableContentDelegate, seems not properly. B. does MPPlayableContentDelegate on used in carplay? Does any other device connected to iphone will receive this notify?method2.check the "AVAudioSession.sharedInstance().currentRoute.outputs.first" when receive method1 notify.But only can get right value when audio file is playing. if no audio playing, it always get the iphone self instead of carplay.method3.using "EAAccessoryManager.shared().connectedAccessories", it needs manually set the info.plist supported protocal in advance.so if I cant set the right protocal for every car type, I cant get the accessories.Anyone can help on this issue, thanks.
Posted
by chaol.
Last updated
.
Post not yet marked as solved
1 Replies
1.3k Views
My app need using siri to start. And I need to know the siri command is from iphone or from carplay side, is it possible. if yes, how can I know that?Thanks!
Posted
by chaol.
Last updated
.
Post not yet marked as solved
2 Replies
1.7k Views
From apple wwdc video "Enabling Your App for CarPlay", it says carplay will support messaging and voip.If I need support messaging or voip in my app, I need request entitlement from apple. https://developer.apple.com/contact/carplay/But I'm confused for several days.Problem A, on messaging carplay:Support carplay messaging app, may be we can debug it by using the entilement file create by myself. just add com.apple.developer.carplay-messaging = YES to the project entitlement file. Then my app icon will show in carplay side, if tap my App icon in carplay, siri will auto started, ask me to read message or composite new message. But my app on iphone side not start automatically.1. So my question is, in carplay display, when apple's message start, siri auto ask "who do you want to send message". Why my app ask "read message or composite message"? is there any other entitlement item need add or I must request apple's formal entitlement?2. Normal carplay app, if tap in carplay side, iphone side will auto start at the same time. But after I set the com.apple.developer.carplay-messaging = YES to the project entitlement file, iphone side will not start at that time, is it caued by myself modified wrong entitlement files?Problem B, on voip carplay:We know that support messaging carplay, we can set com.apple.developer.carplay-messaging = YES, but if I want support voip, I can't find valid key to set like com.apple.developer.carplay-voip = YES. And when I try to request carplay entitlement from https://developer.apple.com/contact/carplay/the category doesn't include voip at all. Only have 'audio', 'messaging', 'others', etc.3. So what I can request is 'other' category and add some comments, but apple not response to me. So frastrating. Any help ?
Posted
by chaol.
Last updated
.
Post not yet marked as solved
3 Replies
1.6k Views
I need use SCNView snapshot API to do AR screenshot, before xcode 10, each time call snapshot, it response quickly. But since xcode 10 and ios 12, this API call take more than 0.5 second, it make our app very slow, can anyone help on this. Why the snapshot take 0.5 second since xcode 10? And whether apple developer will fix this issue. I this issue not handled, it will seriously affect our exist app. I'm waiting for your reply, many thanks!
Posted
by chaol.
Last updated
.