草庐IT

MPPlayableContentDataSource

全部标签

ios - MPPlayableContentDataSource 不调用 contentItemForIdentifier :completionHandler:

我正在使用CarPlay(模拟器10.3.1)并在MPPlayableContentDataSource中实现所有方法,但未调用下面的方法。-(void)contentItemForIdentifier:(NSString*)identifiercompletionHandler:(void(^)(MPContentItem*__nullable,NSError*__nullable))completionHandler有人知道原因吗? 最佳答案 您是否设置了MPPlayableContentDataSource的委托(delega