iphoneiosroaming

iPhone iOS: how to detect when in roaming? (Not for jailbreaked phones)


I'm coding an app with heavy network usage. I've been told to warn users for costs but only when in roaming mode. I know theres some way to know when the phone is roaming comparing two undocumented files on jailbreaked iphones. But I need to find out how to for non jailbreaked phones. BTW found nothing at SCNetworkReachability api.

Ty!


Solution

  • There's no way to know if they're roaming using the API. You can find out if they're on Wifi or Cellular, but that's it.