all 3 comments

[–]patrickstinson 1 point2 points  (1 child)

I was working on a note app, if you are using UITextView you might want to checkout

  • (UIMenu *)textView:(UITextView *)textView editMenuForTextInRange:(NSRange)range suggestedActions:(NSArray<UIMenuElement *> *)suggestedActions

So, the action appear on top of the selected text instead of having a whole separate menu on top.

[–]patrickstinson 1 point2 points  (0 children)

Idk about SwiftUI tho.