Whether CarPlay framework is available for Objective C ?

I have a test like below.

  1. If using Swift: import CarPlay can works.

  2. 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.

Accepted Reply

In Objective-C, you’ll want to #import <CarPlay/CarPlay.h>

  • Thanks for your feedback, it's my mistake, it can works add pre-path.

Add a Comment

Replies

In Objective-C, you’ll want to #import <CarPlay/CarPlay.h>

  • Thanks for your feedback, it's my mistake, it can works add pre-path.

Add a Comment