0

I have created an tableview that shows RSSS. I check for internet connection then get RSS feeds to load into tableview and if internet is unavailable it shows network error alert ands empty tableview is shown. But I want to load tableview when internet connection become active. Is there any way to know when internet connection becomes active after disconnection in iPhone app.

user1288005
  • 780
  • 2
  • 14
  • 35

1 Answers1

2

Yes, use the Reachability class.

http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html

Gruntcakes
  • 37,135
  • 41
  • 177
  • 359