There are a few ways to get rid of phantom text on your iPhone. One way is to go to Settings>General> Keyboard and tap on the "Keyboard" option. Under "Text Input", you can disable "Phantom Text". Another way is to go to Settings>General> Usage and tap on "Text Input". Under "Phantom Text", you can disable it.