Generally any material you intentionally delete after you are told to hand over evidence is considered to be the most incriminating version of that material in a court of law.
That rule wouldn't work very well if the person who destroyed the evidence isn't the person suspected of the crime and it is unclear whether the person who destroyed the evidence is a friend or an enemy of the suspect. So I think a sane legal system would want to punish the person who destroyed the evidence rather than jeopardise the fair trial of the suspect.