I was on Facebook and got a warning that my iPhone was infected
I am having a difficult time backing up my phone
I am having a difficult time backing up my phone
Facebook served you a malicious ad.
install an ad blocker to stop seeing garbage like that.
Your phone is not infected.
The warning was a scam. As long as you didn't enter any data on sites linked from the message you are fine.
I was on Facebook and got a warning that my iPhone was infected