Created
January 14, 2019 16:45
-
-
Save mecid/c6a1887dccd742aa317c5a0c34be1834 to your computer and use it in GitHub Desktop.
swiftsaccessibility6.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SectionHeader: UICollectionReusableView { | |
override func awakeFromNib() { | |
super.awakeFromNib() | |
accessibilityTraits.insert(.header) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment