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
2 answers

iOS - Reachability isReachable not working

I'm using this library: https://github.com/tonymillion/Reachability The problem is sometimes when I check the following expression: [[[ReachabilityManager sharedManager] reachability] isReachable]; returns NO when should be YES. I know there is…
Ricardo
  • 7,921
  • 14
  • 64
  • 111
2
votes
1 answer

Reachability in one device return "NotReachable" despite have a 4G

I have in my app check with Reachability check, but in one device in 4G its return me a NotReachable even the iPhone get Facebook messages and whatsapp. if the iPhone in wifi this work grate. what can be the problem ? -(BOOL)isConnectedToInternet…
Roei Nadam
  • 1,780
  • 1
  • 15
  • 33
2
votes
3 answers

How to check whether internet is active (checking both network availability & webpage accessibility) in iOS?

I am currently working in an iOS project where I need to check whether my phone is connected to the internet (mobile data/wifi) or not. I'm using reachability class which only check network connection availability but suppose a scenario where there…
Khalid Rahman
  • 125
  • 10
2
votes
1 answer

Apple build rejected due to IPv6 Issue

Recently I have submitted the app to App store and it got rejected due to IPv6 not supported. I checked online ready.chair6.net and it shows that Hostname does not have IPv6 AAAA record. So my question is, Once we do changes on our server, do I…
MilanPanchal
  • 2,943
  • 1
  • 19
  • 37
2
votes
2 answers

Detect Internet Connection and display UIAlertview Swift 3

I am making an app that detects if there is a connection to internet by using if else statement, when there is internet, do nothing but if there are no internet connection, then alert view to say the app requires an internet I managed found…
killburn
  • 83
  • 2
  • 8
2
votes
1 answer

Measure [in kbps] internet speed on mobile (ios)

I need to identify if the phone is connected to wifi which I can accomplish using if (status == ReachableViaWiFi) { return @"Wifi"; } else if (status == ReachableViaWWAN) { //connection type CTTelephonyNetworkInfo…
A_G
  • 2,260
  • 3
  • 23
  • 56
2
votes
0 answers

iOS 10 Reachability reachabilityForLocalWifi

I want to check connection to a local wifi with bonjour using [Reachability reachabilityForLocalWifi] but it is now deprecated in iOS 10. Apple suggested to use [Reachability reachabilityWithAddress:] but it still returns "not reachable" even when…
binsnoel
  • 276
  • 2
  • 17
2
votes
0 answers

App rejected Dur to IPv6 network issue

I am Developing an iOS Application, and for API calling I am using NSURLSession, but my application was rejected from app store and Apple saying " Please revise your app and test it on a device while connected to an IPv6 network (all apps must…
Chetan sharma
  • 378
  • 5
  • 21
2
votes
1 answer

Network change Reachability notification not working for VPN enabled app

I am working on an iOS app that is configured to work with Pulse Secure VPN. I have subscribed to the reachability change notification to log network down scenarios. The below code in AppDelegate.m is working fine as it is. If per app VPN is…
KrishnaKumar
  • 188
  • 10
2
votes
1 answer

SCNetworkReachabilityCallBack? type conversion issue with Swift3.0

As Swift 2.3 to Swift 3.0 conversion raise many issue, I am trying to solve this issue but not getting solution so far. Cannot convert value of type '(SCNetworkReachability, flags: SCNetworkReachabilityFlags, info: UnsafeMutablePointer) -> ()' …
technerd
  • 14,144
  • 10
  • 61
  • 92
2
votes
1 answer

AFNetworking reachability status not changing

I have AFNetworking setup to monitor the network reachability status, so that when it becomes available I can immediately make a REST call that would have failed while it wasn't. I've found that it isn't telling me of status changes, however. I'm…
Andrew
  • 7,693
  • 11
  • 43
  • 81
2
votes
2 answers

Alamofire and Reachability.swift not working on xCode8-beta5

I have a custom CocoaPod created in swift2.3 and it has Alamofire and Reachability libraries inside the project. I mean I did integrate Alamofire and Reachability into the project manually. It still works perfectly on xCode7.3.1 and I am going to…
nine9stars
  • 247
  • 3
  • 12
2
votes
2 answers

how to find the Speed of the Network connection in IOS apps

I see a lot of threads and discussions on IOS Apps to determine if the device is connected to internet or not.. With this / is it possible to determine the speed of internet connection like differentiating if the connection is Very bad, bad, good…
sur
  • 345
  • 1
  • 3
  • 13
2
votes
0 answers

4G not recognized by Reachability

I'm using Reachability.swift from Ashley Mills (https://github.com/ashleymills/Reachability.swift). I use the following code to request the current network status: do { reachability = try Reachability.reachabilityForInternetConnection() } catch…
2
votes
1 answer

reachability bug in Xcode 8 e Swift 3

I have a huge problem! I'm trying to implement reachability in an app using Xcode 8 Beta 3 and Swift. When the user have internet (wifi or 4G): the background turns green. If you will not the background it will be red. And if the user accessing…
Ewerson
  • 109
  • 1
  • 10