I just upgraded to Xcode 15.3 and have the same problem. Now my project won't build. How do I find which icon is the issue? The error message isn't pointing to which one/s
Post
Replies
Boosts
Views
Activity
I can't get DatePicker to work either. with style set to .compact, the screen loads and I can tap on the picker. I can select day/month ok, but if I tap the top-left part of the picker to change year it hangs the app and gives this error. If I set the style to .wheel, it hangs immediately the page loads.
import SwiftUI
struct TestDate: View {
@State private var selectedFilingDate = Date()
var body: some View {
DatePicker("Date", selection: $selectedFilingDate, displayedComponents: .date)
// .datePickerStyle(.wheel)
}
}
struct TestDate_Previews: PreviewProvider {
static var previews: some View {
TestDate()
}
}