Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我成功获得了后台进程。但问题是当 AVAudio 播放器完成后,它不会自动播放下一首歌曲。但在模拟器中它会正常工作。仅在设备中出现问题。有人解决了吗???
我们要激活遥控系统,那么只有歌曲列表会自动播放。
[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
在 viewdidload 方法中使用这一行......
我没有在基于窗口的应用程序中测试!!!试着回复我吧!!!