Yeah I was about to say the same thing. I’m guessing the crash is due to an Unrecognized selector for the text field. Mark will need to get/set the layout manager of the text field then invoke that selector onto the layout manager
Declare Function layoutManager Lib "UIKIt" Selector "layoutManager" (obj As Ptr) As Ptr
Var oLayoutManager As Ptr = layoutManager(Me.Handle)
Declare Sub showInvisibles Lib "UIKit" Selector "setShowsInvisibleCharacters:" (obj As Ptr, value As Boolean)
showInvisibles(oLayoutManager, True)
Are you sure there are carriage return characters present? On iOS I believe it would just be line feed characters, not carriage returns unless you are explicitly adding them