uiaccessibility-notification

Why isn't UIAccessibilityNotification not moving to correct argument?

£可爱£侵袭症+ 提交于 2020-02-16 05:25:52
问题 I have a UISwitch inside tableviewcell. The toggle makes a network request. A UIActivityIndicator replaces the switch until the response completes. So the UX flow is as such: off --> loader --> on Before the label is tapped the accessibility reads as such: label - value - hint ‘streaming - switch button off - double tap to toggle switch’ My code is as such: @IBAction func switchToggled(_ sender: Any) { toggle.isHidden = true activityIndicatorView.startAnimating() UIAccessibility.post

Why isn't UIAccessibilityNotification not moving to correct argument?

主宰稳场 提交于 2020-02-16 05:24:30
问题 I have a UISwitch inside tableviewcell. The toggle makes a network request. A UIActivityIndicator replaces the switch until the response completes. So the UX flow is as such: off --> loader --> on Before the label is tapped the accessibility reads as such: label - value - hint ‘streaming - switch button off - double tap to toggle switch’ My code is as such: @IBAction func switchToggled(_ sender: Any) { toggle.isHidden = true activityIndicatorView.startAnimating() UIAccessibility.post