Post

Replies

Boosts

Views

Activity

Datepicker iOS 14 crashes on completely empty project
Hi, In my project I noticed that date-picker component keeps crashing on a specific dates. Sending this error message: "Invalid calculation: number of calculated days is not dividable by the number of days in a week.'" Initially I thought it's something with my project and so on. But after that I had created a new project without any lines of code. Steps to reproduce the error: Create new Xcode project Open Main.storyboard Drag datepicker from the "+" Run project tap over the datepicker and scroll to 1996 Note: This happens only if the date picker is with preferred style: compact and/or inline (default options). youtu.be/hjskPTB0Ok8 I am using: Big sur 11.2 Xcode Version 12.4 (12D4e)
18
0
5.2k
Feb ’21
UIDatePicker iOS 14 Callback?
Hello, I am struggling to fetch an event when dismissing the new iOS 14 .compact mode. On previous version we were able to fetch the user's selected date using some toolbar with "done" button on the top. Gesture doesn't work. Been called before user's choice. Detecting tap on the UIView same as 1. The new pop-up of .compact way doesn't provide any good UI for adding an additional buttons in order to fetch that kind of information. Regards
1
0
1.1k
Sep ’20