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
  • 890
  • 2
  • 16
  • 36

1 Answers1

2

Yes, use the Reachability class.

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

Gruntcakes
  • 37,738
  • 44
  • 184
  • 378