Posts

Post not yet marked as solved
0 Replies
559 Views
Hi. I have CarPlay in my navigation app. Now I'm adding dashboard and I can't open CPWindow (interface) after tap CPDashboardButton in my CarPlay dashboard. Everything works fine except switch scene after CPDashboardButton tapped. How can I do that? It works in Google Maps for example. My connected scenes: (UIApplication.shared.connectedScenes) 3 elements   - 0 : UIWindowScene: 0x7ff5ce7409f0; scene = FBSSceneImpl: 0x600002ec9200; identifier: sceneID:pl.myApp-default; persistentIdentifier = E7301FB2-2F66-4417-BE03-5D86945A1838; activationState = UISceneActivationStateForegroundActive; settingsCanvas = UIWindowScene: 0x7ff5ce7409f0; windows = (     "UIWindow: 0x7ff5ce7141d0; frame = (0 0; 375 812); gestureRecognizers = NSArray: 0x600000e0acd0; layer = UIWindowLayer: 0x6000000f5460",     "UITextEffectsWindow: 0x7ff5d0043bc0; frame = (0 0; 375 812); opaque = NO; autoresize = W+H; layer = UIWindowLayer: 0x600000025840" )   - 1 : CPTemplateApplicationDashboardScene: 0x7ff5ce7e41f0; scene = FBSSceneImpl: 0x600002eda580; identifier: Car[2-85]:pl.myApp:dashboard; persistentIdentifier = Car[2-85]:pl.myApp:dashboard; activationState = UISceneActivationStateForegroundActive; settingsScene = CPTemplateApplicationDashboardScene: 0x7ff5ce7e41f0   - 2 : CPTemplateApplicationScene: 0x7ff5ce71b950; scene = FBSSceneImpl: 0x600002eafd00; identifier: Car[2-85]:pl.myApp; persistentIdentifier = Car[2-85]:pl.myApp; activationState = UISceneActivationStateBackground; settingsScene = CPTemplateApplicationScene: 0x7ff5ce71b950
Posted Last updated
.