Dismiss new items indicator on accessibility scroll
This commit is contained in:
parent
cdd54957f7
commit
f0eeb558a5
|
@ -183,6 +183,14 @@ class TableViewController: UITableViewController {
|
||||||
|
|
||||||
sizeTableHeaderFooterViews()
|
sizeTableHeaderFooterViews()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool {
|
||||||
|
if newItemsView.alpha > 0 {
|
||||||
|
hideNewItemsView()
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.accessibilityScroll(direction)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension TableViewController {
|
extension TableViewController {
|
||||||
|
|
Loading…
Reference in New Issue