on-internet
← Community

New delegates for carPlay

Stack Overflow ·

I am devleoping navigation app for CarPlay and in iOS 12 there were two methods from CPApplicationDelegate to detect if CarPlay is on: func application(_ application: UIApplication, didConnectCarInterfaceController interfaceController: CPInterfaceController, to window: CPWindow) and func application(_ application: UIApplication, didDisconnectCarInterfaceController interfaceController: CPInterfaceController, from window: CPWindow) In iOS 13 these methods are deprecated and Apple gave new delegate: CPTemplateApplicationSceneDelegate I have tried to connect this new delegate CPTemplateApplication

Comments

Sign in or sign up to comment and upvote.

No comments yet.