Ios swift – How to create a fixed size SwiftUI Button when label content changes?
I've got a SwiftUI Button, and it's label changes when it's clicked. The code looks like this: struct MyButton: View { var label: String @State var loading = false var body: some View { Button(action: { loading.toggle() }) { if…