Not able to get SwiftUI Form content size. I am trying to get full size of a SwiftUI Form which has more content than screen size, that makes it scrollable. Using GeometryReader only gives the screen size (device height) rather than full content height. My next milestone would be to take a snapshot of the entire Form and convert it to UIImage or PDF.
6
-
You need to create an image, recontructing the form, for youself.El Tomato– El Tomato2021-07-02 08:22:27 +00:00Commented Jul 2, 2021 at 8:22
-
I didn't get you, in simple words I have scrollable Form build from SwiftUI Form component and I want to take the snapshot of the entire content both on screen, off screengagan sharma– gagan sharma2021-07-02 08:28:17 +00:00Commented Jul 2, 2021 at 8:28
-
Okay... I know what I have read. And?El Tomato– El Tomato2021-07-02 08:34:18 +00:00Commented Jul 2, 2021 at 8:34
-
And? -> please elaborate your comment/ solution ..gagan sharma– gagan sharma2021-07-02 08:44:56 +00:00Commented Jul 2, 2021 at 8:44
-
This has been answered here: stackoverflow.com/questions/59131976/…hayesk– hayesk2021-07-02 16:07:10 +00:00Commented Jul 2, 2021 at 16:07
|
Show 1 more comment