I don’t know why, but my answer yesterday did not get send properly…
So what I said was:
You could replace UIGraphicsImageRenderer(bounds: bounds) with UIGraphicsImageRenderer(bounds: *CGRect*) or UIGraphicsImageRenderer(frame: *CGSize*).
I think in both cases "*CGSize*" should change the image size.
Post
Replies
Boosts
Views
Activity
…./: you can’t edit comments… …or delete them…
so the other views probably get rendered right, beacuse their boundaries are "right".Maybe the WebView just doesn’t really use the boundary(Or the boundary is different from the size of the hole page…).Maybe you can try to use the WebViews frame: UIGraphicsImageRenderer(bounds: self.frame) or UIGraphicsImageRenderer(bounds: self.frame).I’m not shure if that takes the size of the hole html etc. or only the size of the visible path.
Naimad
Maybe you can try to replace UIGraphicsImageRenderer(bounds: bounds) with UIGraphicsImageRenderer(size: *CGSize*) I think this has an impacted on the image size… hopefully that works
Maybe you can try to replace UIGraphicsImageRenderer(bounds: bounds) UIGraphicsImageRenderer(size: *CGSize*)
I think this has an impacted on the image size… hopefully that works
Soooo nach dem ich diese Nachricht zum 3mal schreibe weil mein Gerät jedesmal einen komischen Fehler macht: Die variable collapse beeinflusst die Farbe des Vierecks im View.Wenn ich die Funktion collapseTile() aufrufe, wird immer "Toggle collapse: false" ausgegeben.Außerdem kann man die variablen nicht so definieren, man braucht bei einem View @State var… (Glaube ich).Den View verwende ich in meinem Main View dann in einem Lazygrid und nicht den View als Main view.