Permalink
Browse files

Add how to read phone number using coretelephony

add coretelephony framework first into xcode at build phase
  • Loading branch information...
1 parent 34c919d commit 0a59ee2201e7ad970912faee5034f7b79a69fdbb @masbog committed Aug 22, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 README
View
7 README
@@ -11,3 +11,10 @@ You can use the headers this way:
id nc = [NetworkController sharedInstance];
NSLog(@"-- IMEI: %@", [nc IMEI]);
+
+
+How To get phone number using CoreTelephony
+
+ extern NSString *CTSettingCopyMyPhoneNumber();
+ NSString *phoneNumber = CTSettingCopyMyPhoneNumber();
+ NSLog(@"This is JailBroken Device with phone numer : %@", phoneNumber);

0 comments on commit 0a59ee2

Please sign in to comment.