Detect Swap Sim Card not working on iOS 12+

Hi, I’m trying to detect when the SIM card is swapped. I implemented

subscriberCellularProviderDidUpdateNotifier

and is working fine until the iOS 11. However, when I try to use on iOS 12, the notification is not calling. After I search, I saw that this method is deprecated on iOS 12. So, I implemented the new method:

serviceSubscriberCellularProvidersDidUpdateNotifier

but is not calling as well.

Anyone knows how to works?

Powered by WPeMatico

About

You may also like...

Comments are closed.