ihoudf / DFPlayer

简单灵活的iOS音频播放组件。基于AVPlayer,支持本地和远程音频播放,具有缓存、耳机线控、锁屏和控制中心信息展示、单曲顺序随机播放、倍速播放、歌词同步等音频播放器功能,DFPlayer封装了缓冲条、进度条、播放暂停按钮、下一首按钮、上一首按钮、播放模式按钮、歌词同步的tableview等UI控件,一行代码布局即可实现相应功能。
MIT License
586 stars 114 forks source link

循环引用问题 #6

Open Initial-C opened 6 years ago

Initial-C commented 6 years ago

instrument监测到leaks

ihoudf commented 6 years ago

您好,在Hide system libraries以后能否定位到leaks的位置?

Initial-C commented 6 years ago

你好, 进行hide system libraries后定位不到位置呢, 截图如下, 测试机型iOS 11.2 iPhone6 Plus

另外, 建议您添加 获取当前歌词的功能, 我的思路是在DFPlayerLyricsTableView刷新当前行歌词时将当前歌词赋值给DFPlayer, 给DFPlayer新增代理获取到当前歌词(- (void)df_playerCurrentLineLrcText:(NSString *)lrc;)

[cid:52668cfc-740e-4022-884a-4c40d5e9bf56] [cid:3095903c-d13d-4881-87cc-03e5d21c9832] [cid:b52a9939-2d56-4335-923e-096e100b62bd]


发件人: ihoudf notifications@github.com 发送时间: 2018年1月17日 7:22 收件人: ihoudf/DFPlayer 抄送: William Chang; Author 主题: Re: [ihoudf/DFPlayer] 循环引用问题 (#6)

您好,在Hide system libraries以后能否定位到leaks的位置?

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ihoudf/DFPlayer/issues/6#issuecomment-358219035, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARFrtNdWJ-YFWoijznrFic30yxbflL9tks5tLZ-ugaJpZM4Rgyk0.

ihoudf commented 6 years ago

能否说下这个功能的使用场景😂获取当前行歌词单独开一个代理 感觉有点大材小用了,说下场景,我考虑一下能否用其他方式实现这个功能。

Initial-C commented 6 years ago

😅若播放器分A/B界面,A界面和B界面分别是播放器的两个View,A显示完整的歌词滚动效果和歌曲配图,A转场到B,B只显示一行当前歌词,剩余部分用来做评论列表和推荐列表

发自我的 iPhone

在 2018年1月18日,18:31,ihoudf notifications@github.com<mailto:notifications@github.com> 写道:

能否说下这个功能的使用场景😂获取当前行歌词单独开一个代理 感觉有点大材小用了,说下场景,我考虑一下能否用其他方式实现这个功能。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ihoudf/DFPlayer/issues/6#issuecomment-358605336, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARFrtMjsgv0ft_jOeKnXUTukCHANV1Upks5tLx10gaJpZM4Rgyk0.

ihoudf commented 6 years ago

晓得了 类似qq音乐底部控制条那个 我会在近期添加这个功能

Initial-C commented 6 years ago

建议添加适用于iOS10以上的控制中心拖动音乐进度功能,单独使用MPRemoteCommandCenter,这个我自己封装在外部了

发自我的 iPhone

在 2018年1月19日,11:12,ihoudf notifications@github.com<mailto:notifications@github.com> 写道:

晓得了 类似qq音乐底部控制条那个 我会在近期添加这个功能

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ihoudf/DFPlayer/issues/6#issuecomment-358854594, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARFrtGow7g8yrVMGStP-9ge08A3PONY4ks5tMAgVgaJpZM4Rgyk0.