Questions tagged [reachability]

Reachability is an iOS sample application which demonstrates how to use the SystemConfiguration framework to monitor the network state of an iPhone or iPod touch. In particular, it demonstrates how to know when IP can be routed and when traffic will be routed through a Wireless Wide Area Network (WWAN) interface such as EDGE or 3G.

Reachability is an iOS sample application which demonstrates how to use the SystemConfiguration framework to monitor the network state of an iPhone or iPod touch. In particular, it demonstrates how to know when IP can be routed and when traffic will be routed through a Wireless Wide Area Network (WWAN) interface such as EDGE or 3G.

856 questions
2
votes
1 answer

SystemConfiguration/SystemConfiguration.h file not found

I am getting the following error in the file Reachability.h. I have the required framework. What else do I need to do? This is an app made in Xcode3 and I am trying to import in Xcode4.
Ava
  • 5,783
  • 27
  • 58
  • 86
2
votes
2 answers

Checking internet connectivity iOS 5

I'm making an app that requires internet connection for certain areas. I'm looking for the best way to check internet connection and return an alert view. I've had a poke around and can only find ways of doing the above in iOS 4, but the app I'm…
2
votes
1 answer

How to bring up the Wi-Fi additional authentication Safari screen in my app?

I am working on an iPad app which requires frequent connections to a publicly hosted webserver. I have a Wi-Fi network which requires authentication and gets timed out after 30 minutes of logging in. I am using the Reachability class but I am not…
tanamania
  • 51
  • 1
  • 5
2
votes
2 answers

Navigation based application - how to check reachability and display warning view

On my initial view (Tab bar controller that loads a navigation controller) I check for internet connection. If the device has no active connection, I load a view that says Active Internet connection is required and has a retry button. My problem is…
Savaş Zorlu
  • 85
  • 10
2
votes
3 answers

App Rejected for Audio Streaming over 5MB/5 Minutes? Reachability and tracking data usage

My app was rejected because one of the features is streaming Podcast audio from a website. Apparently, it may stream over 5MB/5 minutes which is against section 9.3 of the App Store Review Guidelines…
Keller
  • 17,051
  • 8
  • 55
  • 72
2
votes
1 answer

Reachability Class with IP

I modified apple's reachability class to use with my server ip. But when I use reachabilityWithAddress it's not called reachabilityChanged while app is launching. It is called only internet connection status changed. ( like turning wi-fi off, on )…
ubaltaci
  • 1,016
  • 1
  • 16
  • 27
2
votes
1 answer

How often does the iPhone 4 search for data service once it has been lost?

Long time reader, first time asker. I'm programming an iPhone application that needs to handle the phone going in and out of data coverage with some elegance. I can set up the Reachability with notifications to find out when it gets lost or comes…
Alex
  • 21
  • 1
2
votes
4 answers

load a different nib if phone is not connected to internet

I use Apple's Reachability class and it's working fine using an alert to tell the user that the connection is not available or the connection is lost. However, I want to change the alert to something more visual. I want to load a nib that tells the…
Diffy
  • 735
  • 1
  • 15
  • 34
2
votes
3 answers

Reachability analysis of a vertex in a graph, using Cellular Automata

Testing reachability of a node in a graph (directed), can be done using cellualr Automata? Actually what's in mind, is to implement an algorithm that checks reachability of a nod from a specified vertex, using CA. Is it even possible? Is CA capable…
Faria
  • 21
  • 1
2
votes
4 answers

iOS Reachability Not Recognizing When Host is Removed

I am building an application and trying to check and see if a device is still available on the network (by connecting to the devices IPAddress). I am using reachability to confirm that it is available. When I network access for the iOS device (turn…
Nathan
  • 1,609
  • 4
  • 25
  • 42
2
votes
1 answer

Android Reachability test

I have an issue regarding how to check the reachability of a certain url. I can do it with a httpget url connection. HttpGet httpGet = new HttpGet(HOST_URL); HttpParams httpParameters = new BasicHttpParams(); int timeoutConnection =…
nala4ever
  • 757
  • 2
  • 8
  • 18
2
votes
1 answer

Can't build my Swift application using my own framework after xcode's 12.5 update

Since the xcode's 12.5 update, I can't build my application using my own framework. Failed to build module 'mySwiftxcFramework' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45…
gamerounet
  • 279
  • 4
  • 22
2
votes
0 answers

Automatically restart an AVPlayer HLS Stream

I have an AVPlayer that is used to play an HLS audio stream using the following code. var playerItem: AVPlayerItem? var player: AVPlayer? func playStream(_ stream: String) { let url = URL(string: stream)! let asset = AVAsset(url: url) …
Shawn Frank
  • 4,381
  • 2
  • 19
  • 29
2
votes
3 answers

Check if iPhone is connected to the internet

how I can check quickly if the iPhone is connected to internet or not, quickly... Thanks...
Maxime
  • 3,167
  • 7
  • 26
  • 33
2
votes
2 answers

Getting Ambiguous use of 'reachabilityChanged' error after installing third party framework through cocoa pods?

I have following internet connectivity checking code using rechability to notify when internet connection status changes in my app. self.reachability =…
iosdev1111
  • 1,048
  • 1
  • 13
  • 32