We just ran into this as well and had to add this to all of our UITextViews:
// HACK: Force TextKit 1 because TextKit 2 is so buggy...
let _ = self.textView.layoutManager
Topic:
App & System Services
SubTopic:
Core OS
Tags: