Accessibility focus remains on tab bar

By Leanne, 30 January, 2018

Forum
App Development and Programming

I am busy building a swift app and making it accessible.
I am having trouble with the tabbar voice over selected state.
When clicking on the tabbar item the first time, the voice over focuses on the navigation item, which is perfect, however, when navigating through the app and the user clicks the tabbar item again, the voice over focus remains on the tabbar.

I have already tried UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification) in the viewDidAppear method of the viewcontroller, but this does not reset the focus to the element I want.

Any ideas how I can reset the selected voice over to the view instead of the tabbar?

Thanks in advance ;)

Leanne

Options