r/appleswiftui • u/Octopyrite • Jun 28 '23
How to inject curly red lines into text field of other apps
How do I inject curly red lines, red rectangular or anything to highlight text in textfield of other apps?
I am trying to mimick Grammarly on Mac. It doesn't seems like it's simply drawing on the screen since scrolling the textfield and remove the curly lines when text is not in view.
I guess I need Accessibility API but I'm not sure which method to use.



