Hi guys! I'm trying to implement a DatePicker in my app, everything works find except for one thing. When I select the DatePicker I receive this huge warning (I attached a text file that contains the full warning).
This is only the first part of the warning. Please check the full error attached.
On an iPhone, the DatePicker looks good but on an iPad it is very small relative to the iPad screen.
This is my code
Any ideas about the error?
Thank you.
Code Block [LayoutConstraints] Unable to simultaneously satisfy constraints.
This is only the first part of the warning. Please check the full error attached.
On an iPhone, the DatePicker looks good but on an iPad it is very small relative to the iPad screen.
This is my code
Code Block Swiftui // Date picker DatePicker(selection: $selectedDate, in: ...Date(), displayedComponents: .date) { Text("") } .padding(.trailing) .onChange(of: self.selectedDate, perform: { date in // Do something })
Any ideas about the error?
Thank you.