Monish Kumar
Monish Kumar

Reputation: 2848

How to call a method when 'No Cellular Network Available'

I am implementing an API based application. As per the requirements I need to show an alert when "No Cellular Network Available".

Upvotes: 0

Views: 234

Answers (1)

Yuji
Yuji

Reputation: 34185

To test reachability, use this sample code called Reachability.

To show an alert, use UIAlertView.

Both are in Apple's documentation.
You don't have to say "you went through the documentation" or "it's urgent...". You can just ask questions! That's what Stack Overflow is for.

Upvotes: 1

Related Questions