Post

Replies

Boosts

Views

Activity

Reply to accessibilityTextHeadingLevel not working in NSAttributedString
Hi Team, We are also facing the same issue, accessibilityTextHeadingLevel is not working, let attrHeaderText1 = NSMutableAttributedString(string: "Page Title") attrHeaderText1.addAttribute(NSAttributedString.Key.accessibilityTextHeadingLevel, value: 3, range: NSRange(location: 0, length: 4)) lblofH1.attributedText = attrHeaderText1 lblofH1.accessibilityTraits = UIAccessibilityTraits.header Any other ways to apply HeadingLevel? Thank you InAdvance.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’23
Reply to accessibilityTextHeadingLevel not working in NSAttributedString
Hi Team, We are also facing the same issue, accessibilityTextHeadingLevel is not working, let attrHeaderText1 = NSMutableAttributedString(string: "Page Title") attrHeaderText1.addAttribute(NSAttributedString.Key.accessibilityTextHeadingLevel, value: 3, range: NSRange(location: 0, length: 4)) lblofH1.attributedText = attrHeaderText1 lblofH1.accessibilityTraits = UIAccessibilityTraits.header Any other ways to apply HeadingLevel? Thank you InAdvance.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’23