如果你想知道原因,你可以像這樣來理解這些修飾器。 Text("Hello World") .background(Color.purple) // 1. 背景顏色變為紫色.foregroundColor(.white) // ...
確定! 回上一頁