Check My Sim Card

Check My Sim Card Average ratng: 4,0/5 4237 reviews

I am developing an app which has call and message functionality , i want to check if sim card is installed or not coz i am facing problem with messaging as it gives alerts for ' Message Sent Successful'

Please help me out.

HimanshuHimanshu

3 Answers

There might be different ways but one way is by using MFMessageComposeViewController class to see if you can send the text message. If you can then sim is available otherwise not.

In cases you have iMessage available then this might return you true, you could also check if you can make a call, you might want to use CTTelephonyNetworkInfo for that purpose.

nsgullivernsgulliver

You can also check using like this.... First read this doc

The value for this property is nil if any of the following apply:

The device is in Airplane mode.There is no SIM card in the device.The device is outside of cellular service range.

Dharmbir SinghDharmbir Singh

First you have to be sure that device is iPhone (not iPod or iPad) then check if device can make call or not, just like this............

Hope it will help you........

Nirav GadhiyaNirav Gadhiya

Not the answer you're looking for? Browse other questions tagged iphoneiossdkmfmessagecomposeview or ask your own question.

Use only the SIM tray that came with your device. For example, a SIM tray from an iPhone 6s will not fit in an iPhone 7.

iPhone

Find your model below to locate the SIM tray. To pop open the SIM tray, insert a paper clip or a SIM-eject tool into the hole beside the tray. Push in, towards the iPhone, but don’t force it. If you're having difficulty ejecting the SIM tray, take your device to your carrier or an Apple Store for help.

After you remove your SIM card from the tray, notice the notch in one corner of the new SIM card. Place the new SIM card into the tray—it will fit only one way, because of the notch. Then insert the tray into the device completely and in the same orientation that you removed it. The tray also fits only one way.

Find the SIM tray on the right side of your iPhone XR.

In China mainland, the SIM tray on iPhone XR can hold two nano-SIM cards.

Find the SIM tray on the right side of your iPhone X or later.

In China mainland, the SIM tray on iPhone XS Max can hold two nano-SIM cards.

  • iPhone 8 Plus
  • iPhone 8
  • iPhone 7 Plus
  • iPhone 7
  • iPhone 6s Plus

Find the SIM tray on the top:

  • iPhone 3GS
  • iPhone 3G
  • Original iPhone

iPad

Find your model below to locate the SIM tray. To pop open the SIM tray, insert a paper clip or a SIM-eject tool into the hole beside the tray. Push in, towards the iPad, but don’t force it. If you're having difficulty ejecting the SIM tray, take your device to your carrier or an Apple Store for assistance.

After you remove your SIM card from the tray, notice the notch in one corner of the new SIM card. Place the new SIM card into the tray—it will fit only one way, because of the notch. Then insert the tray into the device completely and in the same orientation that you removed it. The tray also fits only one way.

Find the SIM tray on the right side, near the bottom:

  • iPad Pro 11-inch
  • iPad Pro 12.9-inch (3rd generation)

Find the SIM tray on the right side, near the bottom:

  • iPad Pro 12.9-inch (1st generation)
  • iPad Pro 12.9-inch (2nd generation)
  • iPad Pro (10.5-inch)
  • iPad Pro (9.7-inch)
  • iPad (5th generation)
  • iPad (6th generation)
  • iPad Air
  • iPad Air 2

Find the SIM tray on the left side, near the top:

  • iPad (4th generation)*
  • iPad (3rd generation)*
  • iPad 2 Wi-Fi + 3G (GSM model)*

*When you insert your paper clip or included SIM-eject tool, use a 45° angle

On iPad Wi-Fi + 3G, you can find the SIM tray on the left side, near the bottom.

Learn more

  • Learn how to import contacts from your SIM card to your iPhone.
  • Since your Voicemail messages might not be available after you swap a SIM card, learn how to save Voicemail messages.
  • Find out which SIM card your device uses.