added helper function for labels
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
67fc629368
commit
16ad138559
@ -21,4 +21,8 @@ extension ViewProtocol where Self: UIView {
|
|||||||
setNeedsDisplay()
|
setNeedsDisplay()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public func accessibilityLabel(for views: [UIView]) -> String? {
|
||||||
|
return views.compactMap({$0.accessibilityLabel}).joined(separator: " ")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user