This question already has an answer here:
I was using Safari when I got a pop-up saying you got a virus(7) click on ok to delete this virus and I clicked on ok because I thought I really had a virus but it said type your phone number. Should I type my phone number in or not. I tried to look up how to find and delete viruses but it is mostly Android and Microsoft products.
My iPad is an iPad air. But is it possible to get a virus on a iOS device and if so how can I find it and delete it?