我在用着MPMusicPlayerController
,特别是与setNowPlayingItem
协议,它是为了cydia
。但我在制作时遇到了一些问题和理论的警告。似乎某些协议和方法不起作用,我收到如下警告:
Tweak.xm:177: warning: ‘MPMusicPlayerController’ may not respond to ‘-skipToPreviousItem’
Tweak.xm:188: warning: ‘MPMusicPlayerController’ may not respond to ‘-pause’
Tweak.xm:193: warning: ‘MPMusicPlayerController’ may not respond to ‘-play’
Tweak.xm:201: warning: ‘MPMusicPlayerController’ may not respond to ‘-skipToNextItem’
Tweak.xm:317: warning: ‘MPMusicPlayerController’ may not respond to ‘-setNowPlayingItem:’
有人有一些想法吗?我已经在原型中输入了协议
我不认为这是因为 cydia - 这听起来像是一个编译问题。
你确定有没有
#import <MediaPlayer/MediaPlayer.h>
在你的文件中?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)