I just developed an iPhone audio streaming application…Now it can play audio files without any problems..The problem arise when the iPhone network switches from 3G to WiFi and viceversa..I need to pause the stream while network switches, but I couldn’t able to resume playback when network comes..Can anybody point me to how to handle this situation with code?
Regards,
Syam S
You might set your app to check
Reachabilitystatus and then send a “pause”NSNotificationwhen the network status changes and the network is unreachable (and, likewise, a “play”NSNotificationwhen the network status changes, and the network is now again reachable):