I thought iPhones don't get viruses (see details)?

I was on some free porrn sites, and then I get spam in my email, ads, etc.

We all, at some point, have been wrong.

This is your turn.

IPhones can't get a virus. A virus, by definition, needs somewhere to be installed. That isn't possible on an iPhone.

Spam and ads are not viruses.