سؤال

I need to get the IMEI number and serial number of the SIM card in iOS, i have done this in android using the telephonymanager, but how can i achieve this on iOS?

I need this value because I save it in a data base using a web service, each time a client attemp to log in, so it doesnt matter if the client changes celphone or not, the account will be the same because the SIM card will be the same one.

I have been searching on the web, and found a way with this:

NetworkController.m

But it seems like this class has been removed from the web. Another possible way to achieve my goal is to use:

UIDevice-IOKitExtensions.m

But no documentation is given. Any ideas?

Does apple accepts an app using private framework?

هل كانت مفيدة؟

المحلول

Apple does not allow the use of private framework / api. Also, getting the users IMEI number will cause Apple to reject the app.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top