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>
Topic:
App & System Services
SubTopic:
Networking
Tags: