objective c - How can I set the title of a UIButton
2010-5-4 · You should change the alignment property of the .frame modifier applied to the Text. Additionally, set the multiline text alignment to .leading. Button { / handler for tapping on the button } label: { Text('Label') .frame(width: 200, alignment: .leading) .multilineTextAlignment(.leading) }
Get Price