I want to show placeholder only when error , but it's not working
WebImage( url: URL(string: "some url"), options: [.progressiveLoad, .delayPlaceholder], isAnimating: .constant(true)) .resizable() .placeholder(Image(ImageConstant.defaultRacerImage)) .indicator(.activity)
I want to show placeholder only when error , but it's not working
WebImage( url: URL(string: "some url"), options: [.progressiveLoad, .delayPlaceholder], isAnimating: .constant(true)) .resizable() .placeholder(Image(ImageConstant.defaultRacerImage)) .indicator(.activity)