We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9da450d commit 824c790Copy full SHA for 824c790
1 file changed
HyperLabel/HyperLabelPresenter.swift
@@ -189,7 +189,8 @@ public final class HyperLabelPresenter<TextView: UIView> where TextView: TextCon
189
return nil
190
}
191
guard let string = container.attributedText?.string else { return nil }
192
- let value = String(string[range])
+ let bridgedString = string + ""
193
+ let value = String(bridgedString[range])
194
return LinkAccessibilityElement(accessibilityContainer: container,
195
range: range,
196
value: value,
0 commit comments