Since iOS has double sim card devices
How can I konw the user is using which sim to provide the 3G or 4G network ?
The function: serviceSubscriberCellularProviders only provide a way to get sim card info, but not any info about the network.
Since iOS has double sim card devices
How can I konw the user is using which sim to provide the 3G or 4G network ?
The function: serviceSubscriberCellularProviders only provide a way to get sim card info, but not any info about the network.
How can I [know which SIM] the user is using [for] the 3G or 4G network?
I can’t think of a good way to do this. Why does this matter to you?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
We are China CDN service company.
we provide CDN service to other APP, help speed up their network performance.
If we can get what the app user`s network operator, we can dispatch a more suitable CDN server for the user.
That’s an interest use case I’ve not seen before.
As I mentioned in my previous post, I don’t think there’s a way to get this info. If you’d like to see such a mechanism added in the future, I encourage you to file an enhancement request describing your requirements.
Please post your bug number, just for the record.
In the meantime, one way you could solve this problem is to create a mapping from IP address to carrier and then set up your own endpoint that returns the info you need based on the source IP address.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Yes , using IP address is another way to archive, and at the moment we are going to use this method。
But, get the operator from the device maybe the best way.
So, we still hope Apple can provide such kind of API.
I have added a suggess in the enhancement request.
Thank you for your help and suggestion.
I have added a suggess in the enhancement request.
Thanks. What was the bug number?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
here is the number:
49721395