Merge pull request #59 from grifas/add-accessibility-identifier
add accessibilityIdentifier on collection view to be accessible. By e…
This commit is contained in:
commit
592929655c
|
|
@ -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