Thanks Ziqiao,
I was under the impression the code was TextKit2 so not sure if there's an action there to make it explicit in the code example that it's outdated and using TextKit1?
Maybe even adding a link to this at the top: https://developer.apple.com/documentation/appkit/textkit/using_textkit_2_to_interact_with_text
Thanks!
Post
Replies
Boosts
Views
Activity
Thanks for the workaround...
Shame this issue is still around in iOS 18 Beta 2 / Xcode 16 beta 2. 😔