How to Obtain ICCID in a Program

Asked 2 years ago, Updated 2 years ago, 54 views

I would like to know how to obtain ICCID through the program.
I found a similar article at home, but the output is null.

How to use your home
https://stackoverflow.com/questions/5599471/iphone-ipad-unique-identifier-besides-uuid-udid
NSSstring* commcenter=@"/private/var/wireless/Library/Preferences/com.apple.commcenter.plist";
NSDictionary*dict = NSDictionaryDictionaryWithContentsOfFile:commcenter;
NSSstring*ICCID=[dict valueForKey:@"ICCID";

ios objective-c

2022-09-30 14:24

1 Answers

Currently, iOS cannot obtain unique identification IDs such as ICCIDs.


as you do in the link attached as your home method. You may have no choice but to create your own unique ID.

For your information, it was written on the page below that ICCID cannot be obtained.
https://stackoverflow.com/questions/21314439/how-to-get-the-iccid-of-the-sim-card-that-is-in-the-iphone-using-my-ios-app


2022-09-30 14:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.