I've found an approach that might work for you as well: Get the local IP address of the iOS device. If you can't get it, you're not in WiFi. You will be able to get it even when no local network permissions are there!
Now ping your own address. It will succeed in case of granted permissions. It fails to send the packet if there is no local network authorization. SimplePing is an example ping implementation and will fail with didFailToSendPacket: in such a case.
I couldn't test a fresh install yet, but it's working properly when looking for disabled local network access. Hope this helps!
Topic:
Privacy & Security
SubTopic:
General
Tags: