I have been trying to get VoiceOver focus to change when the user selects a new tab inside a UITabBar. The default behavior seems to be that it just stays on the selected tab item, which is an awful user experience.
For some reason:
UIAccessibility.post(notification: .screenChanged, argument: view)
does not work; nor does .layoutChanged work. Is there a way to set focus when a new tab is selected on a tab bar, or will I just have to hack together a solution that does not use a UIKit UITabBarController?
This is system behavior that you can't override. I'd strongly recommend not using a non-UIKit solution, and just follow the system conventions in this case. If you feel strongly that your use case is unique, please file a bug with a detailed explanation and a sample project so we can consider your use case.