RotatableStack. A SwiftUI view that embeds in a VStack when in portrait orientation and HStack in landscape orientation. It wraps your content in a GeometryReader to determine if the device is in landscape or portrait rotation (or on larger devices, if it's generally wider or narrower). If portrait, it wraps the content in a VStack, else it wraps in an HStack for landscape.

github.com/reuschj/RotatableStack

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

No recent activity.