On iOS, try shaking your phone in frustration, you may discover undo.
https://developer.apple.com/design/human-interface-guideline...
https://developer.apple.com/design/human-interface-guideline...
I would recommend the 3 finger tap and hold one which brings up the edit menu, since I personally can’t remember all the other gestures.