🎛️Slider
╱🚧 under construction
⚠️ 注意:Slider
範圍的變量必須是 BinaryFloatingPoint
❗
// ⭐️ 設定小數位數(Slider 常用)
// 小數點前的位數(含正負號) ↴
Text("x:\(x, specifier: "%3.0f")")
.font(.system(.body, design: .monospaced)) // ⭐️ 使用等寬字體
Last updated
Was this helpful?