First of all, it is important to mention that viruses are a type of malware designed to cause harm. However, it is highly likely that the message you see is not real because iOS malware is very rare unless your iPhone has been jailbroken. Jailbroken devices become vulnerable to viruses. Jailbreaking involves removing Apple’s iOS restrictions.