Check-In Check-Out Date Picker

I need help trying to work out how to code/create a date picker that allows you select a check-in and check-out date. Where the dates in between are highlighted, an example would be very similar to the app HostelWorld and their calendar date picker. Thank you :)
Answered by Claude31 in 663176022
AFAIK, you cannot get such a behaviour in UIDatePicker.

You'll have to implement your own to mimic the usual one and implement your specific range selection, built on CollectionView for instance.

Have a look here to get some hints (that's a wheels picker, you'll have probably to adapt to calendar presentation)
https ://swiftsenpai. com/development/expandable-date-picker-list/
Accepted Answer
AFAIK, you cannot get such a behaviour in UIDatePicker.

You'll have to implement your own to mimic the usual one and implement your specific range selection, built on CollectionView for instance.

Have a look here to get some hints (that's a wheels picker, you'll have probably to adapt to calendar presentation)
https ://swiftsenpai. com/development/expandable-date-picker-list/
Thank you!
I'll check that out now! :)
Check-In Check-Out Date Picker
 
 
Q