It's not an ad blocker in the way you expect something like uBlock to work, if that's what you're asking. Get Pihole or AdGuard on your network and use that. VPN when mobile if you're super paranoid.
"On iOS" is rough because you're at the mercy of whatever incredibly limited experience Apple allows. Safari is the only real browser on your phone and it can be subjected to limited ad blocking, followed by your system (phone or tablet) with something like AdGuard.
If you're on a particular home WiFi network, you can also add your own DNS filter using something like PiHole.
Check out nextdns or quad9. Though, on mobile, I would look into using a vpn like mullvad or protonvpn, they have malware and ad blocking built in too. I prefer this method because I use school wifi a lot and they force their google dns on the phone so I can't use nextdns or quad9, vpn will get around that and filter your traffic.