Post

Replies

Boosts

Views

Activity

Comment on About "SIMInserted" API
i tried still same result if #available(iOS 18.0, *) { let subscribers = CTSubscriberInfo.subscribers() do { for subscriber in subscribers { print(subscriber.identifier) if subscriber.isSIMInserted { return( "SIM card is inserted.") } } return "No SIM card detected." } catch { return "" } }
Jul ’24
Comment on About "SIMInserted" API
@mungbeans ,yeah am using beta 3, still same error let subscribers = CTSubscriberInfo.subscribers() do { for subscriber in subscribers { print(subscriber.identifier) if subscriber.isSIMInserted { return( "SIM card is inserted.") } } return "No SIM card detected." } catch { return "error" }
Jul ’24
Comment on Usage of IsSIMInserted in iOS 18
networkInfo.serviceSubscriberCellularProvidersDidUpdateNotifier = { [weak self] carrierIdentifier in guard let self = self else { return } let simStatus = self.checkSimAvailability() DispatchQueue.main.async { self.infolabel.text = "System OS : \(self.systemVersion) \n\n \(simStatus)" self.showSimChangedAlert() } }
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’24
Comment on Checking SIM Status on iPhone
hi Quinn, we noticed that the GPay application that installed in iOS 17.5.1 giving error "Cannot detect the sim card" when the airplane mode is enabled OR the sim is removed from the device. How this is possible ?
Replies
Boosts
Views
Activity
Jul ’24
Comment on About "SIMInserted" API
i tried still same result if #available(iOS 18.0, *) { let subscribers = CTSubscriberInfo.subscribers() do { for subscriber in subscribers { print(subscriber.identifier) if subscriber.isSIMInserted { return( "SIM card is inserted.") } } return "No SIM card detected." } catch { return "" } }
Replies
Boosts
Views
Activity
Jul ’24
Comment on About "SIMInserted" API
@mungbeans ,yeah am using beta 3, still same error let subscribers = CTSubscriberInfo.subscribers() do { for subscriber in subscribers { print(subscriber.identifier) if subscriber.isSIMInserted { return( "SIM card is inserted.") } } return "No SIM card detected." } catch { return "error" }
Replies
Boosts
Views
Activity
Jul ’24
Comment on Usage of IsSIMInserted in iOS 18
networkInfo.serviceSubscriberCellularProvidersDidUpdateNotifier = { [weak self] carrierIdentifier in guard let self = self else { return } let simStatus = self.checkSimAvailability() DispatchQueue.main.async { self.infolabel.text = "System OS : \(self.systemVersion) \n\n \(simStatus)" self.showSimChangedAlert() } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’24