Can My iPhone or iPad Get a Virus?
Your iPhone isn’t as susceptible to viruses as a PC or Mac, but iOS malware does exist. Here’s what protects your iPhone from viruses, and how you can avoid other types of malware and threats on your iPhone or iPad.
Source: howtogeek.com