Jimmy Nelle
04/30/2024, 4:04 PMSynchronous URL loading of <https://cache.massengeschmack.tv/img/mag/paddy58.jpg> 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.
The affected code line is the following one:
artwork.setValue(value = NSData.dataWithContentsOfURL(URLWithString(playbackArtwork)!!))uli
05/02/2024, 10:22 PMwithContext if you are already in suspend function or using launch to offload the setting of the artwork value to the background.
EItherway you should use <http://Disaptchers.IO|Disaptchers.IO>