I am trying to add accessibility for UIRefreshControl which has been implemented for pull to refresh in UITableView as below
self.refreshControl.accessibilityLabel = "Refreshing"
But if accessibility turned on and by swiping three finger on UITableview then does not speaking as Refreshing.
I override accessibilityScroll method as below.
override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool {
if direction == .up {
self.refreshControl.accessibilityLabel = "Refreshing"
}
return true
}
Any idea Thanks!