赞
踩
macOS SwiftUI 开发教程之经典双栏搜索框界面
1、主界面
import SwiftUI struct ContentView: View { var body: some View { // NavigationView{ HStack{ List{ Label("文件",systemImage:"book") Label("书籍",systemImage:"book") Label("资料",systemImage:"book") } .listStyle(SidebarListStyle()) .frame(maxWidth: 200) VStack{
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。