In this mini-tutorial, we want to show you the best ways to instantly undo or redo an action. Because as it turns out, there's more than one.
1. Shake, shake, shake!
The first and probably most well-known way to undo typing on both iPhones and iPads is to simply shake your device. Left, right, up, down, it doesn't matter—just shake it like you just don't care (we apologize). Once the device registers the shake gesture, it will show an on-screen confirmation asking whether you want to go ahead and undo your typing.
If you've already undone an action you'd like to redo, you simply repeat the shake gesture, and this time you'll receive an "undo or redo" prompt on your screen.
For the record, the shake gesture only applies to typing actions. In other words, it won't work to undo an accidentally uninstalled app, or unsend an inopportunely sent message.
However, Apple has also given third-party developers the ability to use the shake gesture to prompt different actions in different apps. This means that if you're typing text into a third-party app, it isn't always guaranteed to trigger the "undo" prompt. Rather, the developer may have programmed it to perform a different action in that particular software.Personally, I find that trigger to be rather inconvenient at times. If you're someone like me who tends to use their hands a lot while they're talking, or gestures wildly, the shake gesture may prove to be more of a nuisance than anything else.
If that's the case and you'd like to turn off the shake-activated "undo" gesture, you need to go to the accessibility settings in Settings > General > Accessibility. There, you can control whether or not your iPhone registers future "shakes."

Image credit - Tech Junkie
2. Three-Finger Swipe Gesture
Ever since iOS 13 was released in 2019, there's a brand new—and arguably much more convenient—way to perform the undo action. As long as you've got an up-to-date iPhone 6s or later, you can go ahead and try out this feature.The new trigger is a three-finger swipe movement which will instantly trigger the action, without any confirmation prompts this time around. To undo on iOS 13 or later, you simply need to swipe to the right using three fingers.
The fingers don't have to be arranged a certain way or facing a certain direction. As long as the iPhone registers three of them anywhere on the screen, moving together in a rightward motion, it will remove the last text-related action you did (which includes copying or pasting text, as well as typing).

ncG1vNJzZmivp6x7sbTOp5yaqpWjrm%2BvzqZmp52nqHypu9Zmq6hlpaOxsHnRnpuoZZeawLXB0Z5kqKZdnr2pu82eZKKno5S2pX2Sa2tvcA%3D%3D