-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App在后台呆了一会,回到前台后,动画停止播放了。 #2109
Comments
你确认下是否调用了 setRepeatCount 接口,如果没有调用,默认是只播放一次,进入后台后,定时器并没有停止,只是停止了渲染,如果播放次数没有设置或者设置次数较少是会出现你所说的情况,这是正常的 |
@kevingpqi123 上述录屏来自于官方提供的最新demo(未作任何修改),看了demo中的代码已经设置了 setRepeatCount(0)。 } /**
` |
一样碰到从后台回前台偶发暂停播放 |
@kevingpqi123 大佬解决下啊,这个描述得够清楚了,官方给的demo都能复现。按道理说是个严重问题啊。。 |
ios退到后台30秒,回到前台无法播放 |
【版本信息】
4.3.47
【平台信息】
iOS 原生
【预期的表现】
播放中的动画,在app退到后台后超过10s中,再回到前台时,动画继续播放。
【实际的情况】
播放中的动画,在app退到后台后超过10s中,再回到前台时,动画停止了,且无法调用play方法继续播放
20240123-225928.mp4
。
【Demo及附件】
官方demo即可复现
The text was updated successfully, but these errors were encountered: