📜  如何对齐占位符文本 swftui - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:27.834000             🧑  作者: Mango

代码示例1
TextField("Enter Your Email", text: self.$username)
        .multilineTextAlignment(TextAlignment.center)