CarPlay - Get CPSessionConfiguration on app launch

Greetings,

I would like to know if the CPSessionConfiguration limitedUserInterfaces on app launch. Currently I'm able to read that value when the toggle the limit ui option on the CarPlay simulator. But, if i have it on, and try to read sessionConfiguration?.limitedUserInterfaces it doesn't show me the correct value.

I'm using the delegate, as per the documents, and its working just fine when I have the app open and toggle the UI, the only issue is if the UI toggle is on, and i launch the app im not able to get the correct value.

Would appreciate any input.

Thank you!

code:


 func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didConnect interfaceController: CPInterfaceController) {
        
        self.interfaceController = interfaceController
        self.scene = templateApplicationScene

        self.sessionConfiguration = CPSessionConfiguration(delegate: self)
        print(sessionConfiguration?.limitedUserInterfaces == .keyboard) // prints false when ui toggle is on

CarPlay - Get CPSessionConfiguration on app launch
 
 
Q