Accessibility focus - iOS

On iOS, you can use UIAccessibility to post a notification to move the focus of assistive technologies. Use screenChanged when a new view appears that occupies a major portion of the screen. Otherwise, use layoutChanged when the layout of current screen changes.

func focus(_ view: UIView) {
    UIAccessibility.post(notification: .layoutChanged, argument: view)
    UIAccessibility.post(notification: .screenChanged, argument: view)
}