UIDatePicker next/previous months keyboard navigation

Hello,

I would like to make it possible for keyboard-only users to select the next and previous month buttons in a UIDatePicker, to prevent confusion due to having interactive images in my app which are not interactable with a keyboard.

The official documentation only says that the UIDatePicker component is accessible by default, and does not offer information on how to customize the keyboard navigation.

Is this possible?

Also, if it is possible to do this with the SwiftUI datepicker, that would be great to know, too! I wasn't able to find any documentation about how to do this with SwiftUI either.

UIDatePicker next/previous months keyboard navigation
 
 
Q