File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
# RealReachability
2
- [ ![ Version] ( https://img.shields.io/badge/pod-1.2.2 -yellow.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.2.2 / )
3
- [ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.2.2/ )
4
- [ ![ Platform] ( https://img.shields.io/badge/Platform-iOS-orange.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.2.2 / )
5
- [ ![ Platform] ( https://img.shields.io/badge/Build-Passed-green.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.2.2 / )
2
+ [ ![ Version] ( https://img.shields.io/badge/pod-1.3.0 -yellow.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.3.0 / )
3
+ [ ![ License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.3.0 )
4
+ [ ![ Platform] ( https://img.shields.io/badge/Platform-iOS-orange.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.3.0 / )
5
+ [ ![ Platform] ( https://img.shields.io/badge/Build-Passed-green.svg )] ( http://cocoadocs.org/docsets/RealReachability/1.3.0 / )
6
6
#### We need to observe the REAL reachability of network for iOS. That's what RealReachability do.
7
7
8
8
# Why RealReachability?
@@ -154,6 +154,11 @@ For more details about the "doublecheck" feature, you can go deep into the codes
154
154
155
155
```
156
156
Current WWAN type might be used to improve your app's user experience(e.g, set different network request timeout interval for different WWAN type).
157
+ #### Check the VPN status of your network
158
+ ```
159
+ - (BOOL)isVPNOn;
160
+ ```
161
+ With the help of this method, we have improved our reachability check logic when using VPN.
157
162
#### More:
158
163
We can also use PingHelper or LocalConnection alone to make a ping action or just observe the local connection.
159
164
Pod usage like blow (we have two pod subspecs):
You can’t perform that action at this time.
0 commit comments