My iPhone showed a warning that it has a virus. Is it really infected?
If your iPhone isn't jailbroken, it doesn't have a virus. That scary warning was just a web page trying to get you to click a link or call a fake support number. iPhone apps are sandboxed, so even a bad download couldn't infect the rest of the phone. Don't click and don't call.