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
  • 55,009
  • 24
  • 135
  • 201

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,426
  • 1
  • 53
  • 55