Question: does my iphone have a virus?
Answer: While generally secure, one of the ways iPhones may become vulnerable to viruses is when they are 'jailbroken'. ... So, while the answer to the question “Can iPhones get viruses?” is 'generally not', iPhones have been known to get viruses, albeit rarely (and more likely if they have been jailbroken).