SwiftUI中如何移除MacOS应用DatePicker选中时的彩色边框?
选中时显示边框的DatePicker

该边框会在DatePicker被选中时显示。这是一个使用SwiftUI编写的macOS应用,相关代码如下:
DatePicker( "", selection: $viewModel.currentTimelineDate, displayedComponents: [.date] ) .datePickerStyle(.graphical)
内容的提问来源于stack exchange,提问作者Donat Kabashi
相关产品推荐
相关产品推荐

