asyncImageURLSession(_:)
A modifier that adds a URL session for asynchronous images contained in the view to use when fetching image data.
Declaration
nonisolated func asyncImageURLSession(_ urlSession: URLSession) -> some View
Parameters
- urlSession:
An instance of Urlsession for Asyncimage instances to use for image download data tasks.