正文
// // VStackPage.swift // SwiftUIDeom // // Created by zhoukang03 on 2023/3/28. // import SwiftUI struct VStackPage : View { var body: some View { VStack { Text("made in China.") Divider() // Just add a line. Text("the People's Republic Of China.") }.navigationBarTitle(Text("VStack")) } } #if DEBUG struct VStackPage_Previews : PreviewProvider { static var previews: some View { VStackPage() } } #endif
示例图
标签:21,VStackPage,some,VStack,SwiftUI,Text,View From: https://www.cnblogs.com/zyzmlc/p/17265736.html