Posts

Post not yet marked as solved
11 Replies
8.8k Views
I have been playing around with the new AsyncImage Api in SwiftUI I am using the initialiser that passes in a closure with the AsyncImagePhase, to view why an image may not load, when I looked at the error that is passed in if the phase is failure, the localised description of the error is "Cancelled" but this is happening before the view is being displayed. I am loading these images in a list, I imagine I am probably doing something which is causing the system to decide to cancel the loading, but I cannot see what. Are there any tips to investigate this further?
Posted Last updated
.
Post not yet marked as solved
0 Replies
769 Views
I understand that the currently implementation of AsyncImage does not include caching or ways of supplying a cache (is it too late to submit a feedback request for that?) But does AsyncImage support lazy loading or a way of batching loading? Primarily asking before I focus more on a temporary alternative cheers
Posted Last updated
.