Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vidyareef

macrumors newbie
Original poster
Jan 11, 2009
8
0
Hi !

i am very new to programming in Xcode. Please can someone tell me how to check for internet connection in code or tell me some link where to find them.

As such i can pass the website values as NSURL URLWithString.

===

Hello!

can anyone tell me, how can i test in xcode/objective-C whether an internet connection is available or not.

To check internet connection first as such the application does not crash if content of the website are not available if no internet connection is connected.

Please try suggest some website for reference or some code which you already know.


Vidya
 

vidyareef

macrumors newbie
Original poster
Jan 11, 2009
8
0
Thank you!

i will try my best to get through it.

Can U tell me what does, isAdHocWiFiNetworkAvailableFlags mean ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.