It'd be nice to include visionOS in the disabling of iOS-style automatic behaviors.
#if os(iOS) || os(visionOS)
textView.autocapitalizationType = .none
textView.smartDashesType = .no
textView.autocorrectionType = .no
textView.spellCheckingType = .no
textView.smartQuotesType = .no
#endif