Disable External Keyboard Input for UIDatePicker

I have used UITextField to get date input using UIDatePicker.

If user has attached external Bluetooth keyboard to his iPad or Mac (Catalyst) I want to block user input from keyboard and force user to use UIDatePicker instead to get in put in valid date format e.g. dd/MM/YYYY

How to do it in Swift app? Do help...