0

When my app starts, I want to check whether the net connection is avaliable or not. And if not I want to show an alert message. How can I check it?

1 Answer 1

3

Check out Apple's Reachability example: http://developer.apple.com/iphone/library/samplecode/Reachability/index.html. It will show you everything you need on how to detect the network state of the device.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, that was very helpfull and I succeeded in what I was trying to do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.