Comments (3)
@nacohen I think I am experiencing this issue with iOS 14 as well - can you show me how you converted it to a StateObject?
from asyncimage.
@V8tr I also experience a crash on iOS 14 when AsyncImage is embedded in a List.
Fix was a combination of nacohen's conversion to StateObject to ensure that caching worked properly, and also changing AsyncImage.swift line 29 from 'Group' to 'VStack' to avoid crashes
from asyncimage.
Hi guys, I've updated the project for iOS 14 and now using StateObject
instead of ObservedObject
. This solved the crash.
from asyncimage.
Related Issues (16)
- WebImage for SwiftUI HOT 1
- how to get checks if image has started downloading and finished downloading? HOT 1
- image never update next time after get new url from server HOT 4
- Replace in Example UIScreen.main.bounds.width with GeometryReader
- cannot use ".resizible "
- Using URLCache instead of NSCache HOT 4
- Code attempts to load same image multiple times when same image occurs more than once in a view HOT 1
- Missing curly brackets for placeholder in blog post
- Image Caching is not working. HOT 1
- Cannot convert value of type 'Image' to expected argument type '_?' HOT 2
- Load black images and first load not show images HOT 3
- macOS Catalyst Support? HOT 2
- Image disappears after app resigns active HOT 3
- WidgetExtension compatibility HOT 6
- I cloned your project and not compile HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asyncimage.