I have a VStack
nested inside of an HStack
that I want to take up 35% of the safe area width. So far through beta 3 I\'ve been able to do the by:
Yes, it is deprecated. The release notes say:
The relativeWidth(:), relativeHeight(:), and relativeSize(width:height:) modifiers are deprecated. Use other modifiers like frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) instead. (51494692).
Your only alternative seems to be GeometryReader :-(