You’ve heard the myth — that it's impossible to get a virus on an iPhone because the phone’s main browser, Safari, has no risk of giving your phone a virus; however, the truth is, no matter which browser you use, there's always a chance it could happen. While iOS devices are more secure, viruses come from the websites you visit on Safari, not the browser itself.