I currently have an iPad app that I am attempting to compile to Mac (macOS 10.15) in XCode 11.5. It uses code similar to code found here (https://programmingwithswift.com/add-uidatepicker-in-a-uitextfield-with-swift/). The problem is, that when compiled to Mac, and run on the Mac, it does not work for Mac.
Any suggestions?