add accessibilityIdentifier on collection view to be accessible. By example with the KIF interface testing library (https://github.com/kif-framework/KIF)
This commit is contained in:
parent
8a21e29e89
commit
762b7b17cb
|
|
@ -96,6 +96,7 @@ open class Segmentio: UIView {
|
||||||
collectionView.bounces = true
|
collectionView.bounces = true
|
||||||
collectionView.isScrollEnabled = segmentioOptions.scrollEnabled
|
collectionView.isScrollEnabled = segmentioOptions.scrollEnabled
|
||||||
collectionView.backgroundColor = .clear
|
collectionView.backgroundColor = .clear
|
||||||
|
collectionView.accessibilityIdentifier = "segmentio_collection_view"
|
||||||
|
|
||||||
segmentioCollectionView = collectionView
|
segmentioCollectionView = collectionView
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue