DatePicker 与Picker 类似,不过数据源和绑定的选中值变成了日期。 我们先声明一个日期: @State private var selectedDate = Date() 复制代码.
確定! 回上一頁