Detecting wifi hotspot iOS


Staff member
Is there a way to detect whether the wifi hotspot is enabled or not in iOS?

I can detect whether any active hotspot connection is available by checking the ip of iphone which is of the format 172.20.10.x or the status bar color and height changes

but simply enabling the hotspot- checking this condition is the prob

was following the code here <a href="" rel="nofollow"></a>

can any one help me on this?