I'm using MBProgressHUD library to show an activity indicator while there is a backend call. When i have the voiceover switched on the control is still within the background elements and not on the activity indicator view. How do i bring the voiceover control to the Activity indicator until its completed?
Asked
Active
Viewed 129 times
1 Answers
0
self.hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.hud); self.hud.accessibilityViewIsModal = YES;
This code snippet will make the voiceover to focus on the activity indicator and we can switch to the label by using the swipe control.

Mugunth Chandran
- 261
- 2
- 14