iOS has a built in “content blocking” framework. Third party Ad blockers basically submit blocking rules to iOS in JSON format and the ad blockers work both in Safari and in apps that use the newest WebView.
The advantage is that the third party ad blockers aren’t able to intercept your web browsing directly and can’t invade your privacy.
I use 1Blocker.