gpt4 book ai didi

ios - 以编程方式在iOS中获取自己的电话号码

转载 作者:IT王子 更新时间:2023-10-29 07:24:47 34 4
gpt4 key购买 nike

有没有办法通过 iPhone SDK 中的标准 API 获取自己的电话号码?

最佳答案

冒着获得负分的风险,我想建议排名最高的解决方案(目前是第一个响应)违反了截至 2009 年 11 月 5 日的最新 SDK 协议(protocol)。我们的应用程序刚刚因使用它而被拒绝。这是 Apple 的回复:

"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. You will need to revise your application to read only within your directory container and resubmit your binary to iTunes Connect in order for your application to be reconsidered for the App Store.

这真是令人失望,因为我们想让用户不必输入自己的电话号码。

关于ios - 以编程方式在iOS中获取自己的电话号码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/193182/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com