Closed katerynatsy closed 1 year ago
I have a same issue on screen with dynamic list of images, thanks! iOS 16.0 only
I don't think this fix is correct.
See #232, which dispatch the onAppear in correct timing
Since the #232 do the similiar things (It dispatch the onAppear
with dispatch async to main), so use that instead, I just close it.
The feature is embed into that PR.
What?
update
Published
properties ofImageManager
in the main threadWhy?
Publishing changes from background threads is not allowed; make sure to publish values from the main thread.
How?
As a temporary solution, enforcing assigning new values in the main thread but ideally it should be done via subscription to model changes and triggering changes as e response. i.e. via PassthroughSubject and operators like receive(on:)).