SBFormattedPhoneNumber不起作用 [英] SBFormattedPhoneNumber is not working

查看:42
本文介绍了SBFormattedPhoneNumber不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下代码来获取当前用户的电话号码:

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

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

但是我不明白为什么这个函数会返回null,请帮助我理解.

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

推荐答案

适用于越狱设备.如果您希望将应用程序上载到AppStore,则不应使用这些代码.

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

这篇关于SBFormattedPhoneNumber不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆