Flutter IOS应用程序过热,GPU增加,并且随机崩溃。

huangapple go评论94阅读模式
英文:

Flutter IOS app overheating and increasing GPU with random crash

问题

我们的社交媒体应用在iOS移动设备上播放视频时有一个卷轴选项,会导致设备过热并增加GPU的负荷。我正在使用较好的播放器,但它会随机崩溃。在Android上运行正常,只有iPhone存在这个问题。

由于未捕获的异常而终止应用程序,原因:**-[__NSArrayM InsertObject:atIndex:]

提前感谢

我尝试了一个可重用的更好的播放器控制器,但没有好运。

英文:

We have a social media app with a reel option while playing videos on iOS mobile, which gets overheated and increases the GPU. I am using the better player, which has random crashes. In Android, working fine. Only iPhones have this issue

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: **-[__NSArrayM InsertObject:atIndex:]

Thanks in advance

I tried a reusable better player controller, but No luck

答案1

得分: 1

我使用了BackdropFilter小部件,它导致GPU占用增加。现在应用程序正常运行,没有过热问题,GPU占用不多。因为IOS在渲染BackdropFilter小部件时会占用更多的GPU。

英文:

I had used the

> BackdropFilter

widget, which causes the GPU to increase.

Now app working fine without overheating and GPU is not took much. Because IOS take more GPU for render BackdropFilter widget.

huangapple
  • 本文由 发表于 2023年7月24日 15:16:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/76752163.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定