0

Is it possible to know cellular network/Operator for any mobile number provided (Not for the current sim used in mobile) in objective c?

Jeff
  • 688
  • 1
  • 13
  • 30
  • Mobile number is not tied to operator anymore, so no, at least not from the number itself. – Rok Jarc Dec 08 '16 at 06:54
  • you can identify the network type. But not sure the operator http://stackoverflow.com/questions/8400340/determining-3g-vs-edge/13127014#13127014 – Puvanarajan Dec 08 '16 at 07:03
  • @Jarc, Thanks for your quick reply. Is there any solution to validate if the entered mobile number is valid or not? – Shashi Tiwari Dec 08 '16 at 07:03
  • http://stackoverflow.com/questions/13176083/validate-phone-number-ios?answertab=active#tab-top check out here – Narendra Pandey Dec 08 '16 at 07:09
  • @Puvanarajan This is not what I am looking for. Thanks for your support! – Shashi Tiwari Dec 08 '16 at 07:11
  • @ShashiTiwari: if you are thinking of 'if it looks valid' then there are a couple of regex-es that can do this (kind of, none of them are 100%). If you are thinking of 'if certain number is active' then no. – Rok Jarc Dec 08 '16 at 07:16
  • You need to use an HLR lookup service. Most have APIs available, although I'm not sure about Obj C. – Jeff Dec 13 '16 at 23:40

0 Answers0