iOS 7怎样获取本机号码,不要求上传appstroe,纯粹自己想研究一下,能不能实现这个功能,CTSettingCopyMyPhoneNumber()这个方法也亲试,在ios 7上无效,请哪个热心的大神帮忙解惑一下,现在ios 倒底能不能获取本机的电话号码。(xcode 和模拟器都是最新版的 5.0.2和7.0)
根据我找到的最新答案:
"For security reasons, iPhone OS restricts an application (including its preferences and data) to a unique location in the file system. This restriction is part of the security feature known as the application's "sandbox." The sandbox is a set of fine-grained controls limiting an application's access to files, preferences, network resources, hardware, and so on." The device's phone number is not available within your application's container.
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。