How can I customize an UIDatePicker to only show 2 hours?

How can I customize an UIDatePicker to show:  mm:dd:yyyy  and the time with only two options to choose from: hh1 or hh2: (07) hrs or (22)hrs?

 

example:   (scrollable) Date: May 23 2020   Time: 0700 (option 1)

                                                                               2200 (option 2)

Powered by WPeMatico

You may also like...

Comments are closed.