olexale/arkit_flutter_plugin

using multi network images gets UI unresponsiveness in main thread for a while and hanging the screen for more than 1 min

a7medlord opened this issue · 0 comments

the issue basically comes when I tried to load 100 networks images in "DetectionImages" attribute inside "ArKitSceneView" using "ArkitReferenceImage" object

so main ArkitSceneView screen gets hanging for more than 1 min and xcode drops warring by every image loaded said "[CFNetwork] Synchronous URL loading of image.png should not occur on this application's main thread as it may lead to UI unresponsiveness. Please switch to an asynchronous networking API such as URLSession."

plz help me out to fix this issue