1

I am using below code to get current user's phone number:

[[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"];

But I don't understand why this function would return null, please help me to understand.

Richard J. Ross III
  • 54,187
  • 24
  • 128
  • 194

1 Answers1

1

That is for Jailbroken devices. You should not use these codes if you want your app to be uploaded to AppStore.

Ilanchezhian
  • 17,446
  • 1
  • 51
  • 55