I’m getting pop ups on both my iPad and iPhone purporting to offer Wal Mart gift cards. I know it’s bogus, but how do I get rid of whatever it is that’s responsible? Lots of conversation about it online, but can’t find a fix for iPad or iPhone.
You need an ad-blocker. It’s extremely unlikely, especially on ios, that your device is actually infected. Rather, the problem is that you are visiting web sites (whether by clicking a link in email or using an embedded browser in certain applications like Discord or using safari or chrome) that have ads, and some of these ads are scam ads claiming you won a prize that play tricks with popups to make it difficult to close the ad.
There are several ad blockers available for ios, Apple natively supports this. Adblock Plus has one, but I haven’t done the research to find out if this is the best available or not. I can say that I use a program called “adblock browser” on Android for this purpose, as I was annoyed by these exact same time wasting ads.
The ones I’ve encountered are linked to advertising. The website has an embedded ad with a script that creates a pop-up window and redirects the browser to some kind of spam page. The only way I know of to resolve this is to use the Adblock web browser.
NoScript might be useful, too, but IME it makes using the web generally a misery.