is there any order of serviceSubscriberCellularProviders dictionary values?
Dictionaries have no concept of order. You can enumerate the entries in a dictionary, but the actual order in which they get enumerated is meaningless.
Our real-time experience is 1st value of physical SIM and 2nd value of eSIM. but on the internet, we saw many developers say they got eSIM value as 1st value and physical SIM as 2nd one.
This is expected behavior. When enumerating dictionary entries, the order is not only meaningless but it’s actually random across separate runs of the program.
And (noting this for completeness) there’s no significance to the actual strings used as keys in the serviceSubscriberCellularProviders dictionary. The next release could change them to "Jobs" and "Wozniak" and still be perfectly compliant with the published documentation.
So there’s truly nothing in the documented API that can tell you the difference between an eSIM and a nano-SIM.
Topic:
App & System Services
SubTopic:
Networking
Tags: