3
|
Steve Madsen · 技术社区 · 15 年前 |
![]() |
1
1
There doesn't seem to be a way. Erica Sadun has an interesting UIDevice-hardware extension project on github but it can't determine whether there is cellular radio either. |
![]() |
2
1
The best you can do is use the Apple provided sample project for Reachability. http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html It has three states of the network status:
如果
This will be an improvement because even with a cellular radio you might in a wifi only location. |