InSwiftUI, I've implemented a straightforward TextEditor to display static text:
As you see there are no side effects on it but lineLimit is a really simple modifier.
@State private var text = "This is some multi-line text that you want to be sett as constant text."
TextEditor(text: $text)
.lineLimit(3)
.disabled(true) // Disables user interaction
In iOS 17.1 it doesn't work.
In previous versions, it worked fine.
Seems we have this bug on iOS 17.1.
Any solution? Upcoming fix?