Question: how to retrieve deleted messages on iphone xr?
Answer: Log into icloud.com on any web browser. Tap on Text Messages icon. ...  Unlock iPhone XR, go to Settings > Apple ID > iCloud. Make sure the toggle next to Messages is ON. After a few minutes, the deleted messages should reappear in the message list.