Malware infecting my iPhone?

About a week ago, I came across a ransoware where I couldn't escape the webpage until it redirected me to my app. I didn't download anything from the store but I fear that my iPhone may have malware. My phone seems to be working ok until it started overheating without using much data or energy. Can anyone help me?

You won't get viruses on iphones, thats just a webpage only you seen trying to fool you. (If jailbroke it though then that changes that)

If your iPhone is unjailbroken you can't get a virus, or at least one some random one a website could pick up.

  • Plague inc.infecting iceland! - 1 I'm playing plague inc. (the app for iphone). I've infected every country completely. The only country left is Iceland. I infected it but it won't spread.
  • Is there an anti virus or malware scan I can get on my iPhone 4? Is there an anti virus or malware scan for the iPhone 4 that I can get from the apple store? If so what's the name? Also is there something I can get to stop ads poppin up on games?
  • I suspect spyware or malware on my iPhone? If I did a factory reset and erase all content and settings would that get rid of any potential spyware or malware on my iPhone. I've been trying to find an answer on the internet but the only abnoxious answer I get is, "IPhone can't get viruses." With out any reason as to why iPhones can't get viruses. I also read somewhere that IPhones can indeed get viruses so if I did get one of some sort how could I get rid of it?
  • How can you get rid of adware and malware on your iPhone? (1) Reset all settings (2) Erase all content and settings Which is the best option to GET RID OF ALL THE VIRUSES on your iPhone? (1) or (2)?