摘要:        
效果如下 import SwiftUI struct ContentView: View { @State private var bo = false var body: some View { Toggle("开关", isOn: $bo) .toggleStyle(CheckBoxToggle    阅读全文
posted @ 2021-07-20 11:35
我不爱吃鱼
阅读(1159)
评论(0)
推荐(0)
        
            
        
        
摘要:        
import SwiftUI struct ContentView: View { var body: some View { Group{ if let resBundlePath = Bundle.main.path(forResource: "Resources", ofType: "bund    阅读全文
posted @ 2021-07-20 09:30
我不爱吃鱼
阅读(424)
评论(0)
推荐(0)
        
            
        
        
摘要:        
效果图 import SwiftUI struct ContentView: View { @State private var username:String = "" var body: some View { VStack { Text("输出:\(username)") TextField(    阅读全文
posted @ 2021-07-20 08:36
我不爱吃鱼
阅读(467)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号