I've been looking for an inline datepicker plugin quite a while and was happy to find this one 👍
I am working in an ionic 5 / cordova 9 environment and when I included this plugin in my iOS build I ran into exceptions due to that the type UIDatePickerMode was deprecated.
I changed it to UIDatePicker.Mode in DatePicker.swift and CDVDatePicker.swift. The build now worked fine.
Now when I test your sample code the create function returns an ID (and I see it in the DOM) but I can't get the date picker to show up. No exceptions anywhere..
I'd be happy to debug it further and possibly contribute with improvements. I am a fullstack engineer but swift is new to me so if you have any pointers that can lead me in the right direction then I'd be very happy.
I've been looking for an inline datepicker plugin quite a while and was happy to find this one 👍
I am working in an ionic 5 / cordova 9 environment and when I included this plugin in my iOS build I ran into exceptions due to that the type
UIDatePickerMode
was deprecated. I changed it toUIDatePicker.Mode
in DatePicker.swift and CDVDatePicker.swift. The build now worked fine.Now when I test your sample code the create function returns an ID (and I see it in the DOM) but I can't get the date picker to show up. No exceptions anywhere..
I'd be happy to debug it further and possibly contribute with improvements. I am a fullstack engineer but swift is new to me so if you have any pointers that can lead me in the right direction then I'd be very happy.
I am running my tests on an iPhone 8, iOS 14.2