英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论