iphone's MSISDN

Discussion in 'iOS Programming' started by arnieterm, Mar 12, 2010.

  1. arnieterm macrumors regular

    Joined:
    Aug 28, 2008
    #1
    Is it possible to obtain the iphone's MSISDN? I need it in order to authenticate the user in my application.
    Any idea?
    Thanks
    Arnieterm
     
  2. jnic macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    Not without using a private API, which will cause your app to be rejected by Apple.
     
  3. marlenez macrumors newbie

    Joined:
    Aug 25, 2008
    #3
    Why not check for the Unique ID of the phone using the following...

    Code:
    UIDevice *myCurrentDevice = [UIDevice currentDevice];
    	
    	NSLog(@"%@ is an %@ running %@ The Unique ID is %@", [myCurrentDevice name],
    		  [myCurrentDevice model],
    		  [myCurrentDevice systemVersion],
    		  [myCurrentDevice uniqueIdentifier]);
     

Share This Page