Detecting network adapter changes on the iPhone
        Posted  
        
            by theactiveactor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by theactiveactor
        
        
        
        Published on 2010-05-12T01:03:04Z
        Indexed on 
            2010/05/14
            6:04 UTC
        
        
        Read the original article
        Hit count: 331
        
Say that there are no WIFI networks currently available and my network-enabled app is connected over 3G. How can I detect if a user has roamed into a WIFI network? I would also like to detect the case when the user is connected over WIFI and suddenly received 3G signal.
In other words, I would like to be asynchronously notified of network adapter changes. I tried using the SCNetworkReachability framework asynchronously but found that for some reason, I am not receiving Wifi-related events (i.e. adapter on/off) when connected over 3G.
© Stack Overflow or respective owner