DFPlayer icon indicating copy to clipboard operation
DFPlayer copied to clipboard

发现了demo中的bug 希望大神能够解决

Open scyios opened this issue 7 years ago • 0 comments

大神您好, 我看了您的demo 或许是因为太喜欢的缘故 所以平时总拿出来看看, 目前我在做音频的项目,准备用DFPlayer 但是我发现了两个bug 希望得到您的回复 1): 快速(能多快就多快,暴力测试)点击下一曲的时候 出现了crash 日志:*** Terminating app due to uncaught exception 'NSRangeException', reason: '-[DFPlayerLyricsTableview _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:usingPresentationValues:]: row (0) beyond bounds (0) for section (0).' *** First throw call stack:

2):还是快速点击切换歌曲 控制台会很大频率出现如下log Task <...>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-999 然后卡屏 过一会才能继续播放,

  1. 我在网上查了资料 猜测可能是线程堵塞的问题

scyios avatar Oct 19 '18 14:10 scyios