SwiftUI AnyLayout: Changing Layout with HStack and VStack
#SwiftUI #Programming https://www.appcoda.com/swiftui-anylayout/
In iOS 16, Apple introduces a new view called AnyLayout. You can use it to switch layout dynamically. Say, switching between HStack and VStack based on the device's orientation.