Possible Duplicate:
How to use reachability class to detect valid internet connection?
Iphone detect 3g or wifi
Is there a way to programmatically determine if a user's iOS device is connecting to the Internet via cellular (3G/EDGE) vs. using a Wi-Fi connection?