Accessibility focus remains on tab bar

App Development & 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 ;)