Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP DNR] Support the private back button trait #217

Closed
wants to merge 2 commits into from

Conversation

kyleve
Copy link
Collaborator

@kyleve kyleve commented May 2, 2024

No description provided.

@@ -580,6 +591,9 @@ extension UIAccessibilityTraits {
static let textEntry = UIAccessibilityTraits(rawValue: 0x0000000000040000)

static let scrollable = UIAccessibilityTraits(rawValue: 0x0000800000000000)

/// A private trait that UIKit uses internally for the back button in `UINavigationController` hierachies.
static let backButton = UIAccessibilityTraits(rawValue: 0x0000000008000000)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: convert this (and the others) to bitmask style 1 << X

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Convert to 1 << X style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants