Question: how to retrieve deleted messages on iphone xs max?
Answer: Connect iPhone XS (Max) to computer and launch iTunes.
Click the [iPhone] icon appeared on the upper-left position.
In summary section, select Restore Backup...
Choose a backup with the deleted texts included, and click Restore.