Passing geometry information to parent/sibling views in SwiftUI

Demo Use Case

ImageView height depending on TextView height inside a ScrollView
Problem: Calculating ImageView’s height depending on the height of it’s sibling view.
Solution: Calculating ImageView’s height depending on the height of it’s sibling view.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
AppBakery

AppBakery

In-house agency for Mobile Apps & Web at Swiss Federal Railways #sbbcffffs