Miki
Miki

Reputation: 921

Is there a way to get some sort of SIM card Identifier on iPhone programmatically?

Is there a LEGAL or PUBLIC-API way to obtain some sort of SIM card identifier programmatically, the only thing so far i found is that there is a NSNotification that occurs when SIM card is changed while app is in runtime, but that is not enough for me...

Is there some kind of public API in CoreTelephony that allows some kind of UUID get from SIM card?

Upvotes: 1

Views: 2033

Answers (2)

Vadim Kozak
Vadim Kozak

Reputation: 420

Actually NO you can retrieve operator code, country code, but not ICCID.

Upvotes: 1

Penkey Suresh
Penkey Suresh

Reputation: 5974

The id you are looking for is ICCID (Integrated Circuit Card Identifier) and there is no official api to get that information from an iOS devise programatically, without the risk of getting rejected by app store.

You can check your own in iccid at Settings -> General -> About -> ICCID

Upvotes: 1

Related Questions