Apple MusicKit无法播放音乐

时间:2019-11-05 02:37:10

标签: ios swift4 ios13.1.2

2019-11-04 18:23:38.332131-0800 [9173:3035194] [SDKPlayback]无法获得有效的响应。重置期望id = applicationMusicPlayer 2019-11-04 18:24:06.019900-0800 [9173:3035194]无法用信号通知服务com.apple.WebKit.WebContent:113:找不到指定的服务 2019-11-04 18:24:06.020600-0800 [9173:3035194]无法用信号通知服务com.apple.WebKit.Net enter code here工作:113:找不到指定的服务

    let q = MPMusicPlayerPlayParametersQueueDescriptor(playParametersQueue:           self.playParamList)
    q.startItemPlayParameters = self.playParamList[self.nowPlaying]
    self.musicPlayerApplicationController.prepend(q)
    self.musicPlayerApplicationController.prepareToPlay()
    (self.musicPlayerApplicationController as MPMediaPlayback).play()

0 个答案:

没有答案