Question: how to recover deleted messages on imessage?
Answer: Turn off Find My iPhone via Settings > Apple ID Profile > iCloud > Find My iPhone > Off.
Connect your iPhone or iPad and open iTunes.
Choose your device and tap Summary.
Select either This Computer.
Select Restore Backup in iTunes.