swift - iOS:is that available to control or choose the way to receive message from network? -
For example, I want to force the device to get data from the network with 3G / 4G service when WiFi is connected. What is the permissions / APIs of developers that which network device should be used? Is there any document about this in the Apple Developer Library?
Use the richness class to search Google.
Richability * Accessibility = [Reachability Possibility for Internet Connection]; [Accessibility StartNotifier]; NetworkStats position = [reachability current resheability credits]; If (position == ReachableViaWiFi) {}