It's incredibly rare for an iPhone to catch a virus, but not impossible ... Here's what you can do to troubleshoot the problem and remove malware from your misbehaving phone.
A lot of the websites offering advice on Mac malware removal are companies trying to sell your anti-virus solutions, which makes their tips somewhat biased, but here you can expect impartial advice.