Created
December 7, 2020 05:21
-
-
Save emma-k-alexandra/7a0c46ae48e142d28cb30b859cc793d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var body: some View { | |
VStack { | |
GeometryReader { geometry in | |
// Needs to be .topLeading so we can modify alignments on top and leading | |
ZStack(alignment: .topLeading) { | |
self.zStackViews(geometry) | |
} | |
.background(calculateHeight($height)) | |
} | |
}.frame(height: height) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment