When I hover the mouse over the NSTextAttachment
image inside the UITextview,
it should show this option to MarkUp.
All native app including Notes, TextEditor, Mail have this behaviour:
I think, by default, NSTextView
will show the NSSharingServicePicker
button when you hover over an image inside the text view. That’s true even for custom image-based NSTextAttachments
in the attributed string.
But it is not showing the button for UITextview
in MacCatalyst.
Also NSSharingService class is limited to MacOS only.
Are there any alternative way to achieve this in MacCatalyst?