Can iPhones get viruses? How to keep your Apple smartphone safe

Can iPhones get viruses? Contrary to what you might have heard, yes; they can.