Regarding Dual SIM Usage

I am developing a VoIP application that uses NetworkExtension (Local PUSH function) And VoIP(APNs) PUSH.

Since iPhone X, iPhones have supported eSIM, allowing for the simultaneous use of a physical SIM and an eSIM. Consequently, users of our VoIP app have requested the ability to lock the network used by the VoIP app to either the eSIM or the physical SIM.

Our VoIP app utilizes the network through the socket API. Is there an API in the iOS SDK to lock the network used via sockets to either the eSIM or the physical SIM?

In other words, we would like to be able to retrieve the IP address assigned to the eSIM or the physical SIM in advance, and know which IP address is assigned to which SIM. Are there any such APIs available (that are not "Deprecated")

we would like to be able to retrieve the IP address assigned to the eSIM or the physical SIM in advance, and know which IP address is assigned to which SIM.

AFAIK there’s no supported way to do this. It is possible to get a list of interfaces, and learn stuff about those interfaces, using the techniques I describe in Extra-ordinary Networking and the various posts it links to. However, I don’t see any way to reliably distinguish between the cellular interfaces of the various SIMs.

Is your app being deployed to managed environments?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

By "managed environments," I assumed you meant MDM, is that correct? If so, it depends on the client. (We have multiple clients and it varies by client)

So, if there is any solution that is based on the premise of "using it in an MDM environment," I would like to know detail of about it.

Regarding Dual SIM Usage
 
 
Q