开源雷达国内 GitHub 镜像站
加速通道已就绪 返回列表
全部项目

reuschj/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.

语言:Swift · GitHub 星标:9 · Fork:1

在 GitHub 上查看原仓库

正在读取项目信息…