diff --git a/Source/Rows/TextAreaRow.swift b/Source/Rows/TextAreaRow.swift index c2050674..f857bd89 100644 --- a/Source/Rows/TextAreaRow.swift +++ b/Source/Rows/TextAreaRow.swift @@ -73,7 +73,12 @@ open class _TextAreaCell : Cell, UITextViewDelegate, AreaCell where T: Equ super.init(style: style, reuseIdentifier: reuseIdentifier) - let textView = UITextView() + let textView: UITextView + if #available(iOS 16, *) { + textView = UITextView(usingTextLayoutManager: false) + } else { + textView = UITextView() + } self.textView = textView textView.translatesAutoresizingMaskIntoConstraints = false textView.keyboardType = .default