I have an app that tracks Wi-Fi and Cellular data usage. Many users want to see tracking per sim, and I can't find a way to achieve that. It seems like iOS reports data usage from every sim into pdp_ip0 interface.
Is there any place to look into?
I have an app that tracks Wi-Fi and Cellular data usage. Many users want to see tracking per sim, and I can't find a way to achieve that. It seems like iOS reports data usage from every sim into pdp_ip0 interface.
Is there any place to look into?
Even worse, interface names such as pdp_ip0
and en0
are not considered API, so you really shouldn’t rely on them at all. (Search the forum for those names for more about this.)
And even if each SIM got its own documented BSD interface, the deprecation of CTCarrier
means it would be hard to even figure out a name for the SIM currently being used.
#include <ususl_caveat_about_specially_entitled_carrier_apps>