@testalpha
This app you mention (WiFi Blocker) is not a solution at all for the issue we are talking about here... It is to control the usage of your WIFI access point at home by the various devices connected to it.
On the other hand, the issue of this thread is about controlling the access of a particular iOS app to ANY wifi network, in order to prevent the app from accessing the Internet via WIFI, just like it possible to block it via Cellular data.
Currently iOS allows a user to prevent an app from accessing Internet via Cellular data, but not via WIFI, and it is really confounding why not !
I guess Apple only considered the risk of an app incurring high cost of cellular consumption, assuming that WIFI is never metered nor charged (not true!), but the more important aspect to me is for privacy protection: I want to make sure a given app (that I do not entirely trust) cannot send my data to some unknown servers.
One could say "if you don't trust an app, don't use it!", but this would be a very shortsighted answer... Sometimes, the user has no choice but using a given app, notably when the app is REQUIRED to use a hardware device that was purchased. If the device cannot be used because the app steals data, then it's like the device itself was stolen from its owner!
Now, I could use the privacy settings to prevent the app from accessing the iPhone location, the iPhone camera etc... but when the app controls a third party hardware device, then the app necessary has access that device, and if the device has a GPS receiver, a camera, a microphone, ... then you can loose your privacy and totally unsuspectingly. I encountered an app that was used to display the image of a Dash cam, so the functionality is primarily local (e.g. within your car), but the app make calls to countless IP adresses in China ! Why would that be do you think?
So if you use an app and have no intention of sharing anything on the Internet with it, you should be able to forbid the app totally from accessing the Internet, without even having to ask yourself: Can I trust this app?
Going further, I think that network access for an app should be turned off from the start, and only allowed to do so by first asking the user.