Issue with Buttons in SwiftUI on MacOS

前端 未结 4 1447
不思量自难忘°
不思量自难忘° 2020-12-17 15:56

I\'m using SwiftUI on MACOS

If I do this:

      Button(action: { } ) {
        Text(\"Press\")
        .padding()
        .backgroun         


        
4条回答
  •  死守一世寂寞
    2020-12-17 16:24

    I don't think this is possible but you could try using this

    Supports SPM, is build for Swift 5.1 and is lean

提交回复
热议问题