[英] Programmatically get own phone number in iOS
有没有办法通过iPhone SDK的标准API获取自己的手机号码?
有没有办法通过iPhone SDK的标准API获取自己的手机号码?
冒着获得负分的风险,我想建议排名最高的解决方案(目前是第一个回应)违反了截至2009年11月5日的最新SDK协议.我们的申请刚刚因为使用它而被拒绝了.以下是苹果公司的回应:
"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.
这确实令人失望,因为我们希望用户不必输入自己的电话号码.
我们可以在 Swift 中将结构中的 Codable 键设置为不区分大小写吗
如何在不同设备的segment控制中管理文本大小(text size)?
Flutter 错误:“CocoaPods not installed or not in valid state.”
为什么我的应用在 Testflight 中没有下载 dSYM 按钮?
iOS 部署目标“IPHONEOS_DEPLOYMENT_TARGET”设置为 8.0,在 Flutter 中如何更改最小 IOS 部署目标
SwiftUI 应用生命周期 iOS14 AppDelegate 代码放哪里?
如何在 iOS 13 的 UISegmentedControl 中更改段的 colored颜色 ?
在 SwiftUI 中查找 Image(systemName:) 的所有可用图像
Xcode 10.2.1 命令 PhaseScriptExecution 失败,退出代码为非零
Xcode 10b5 - 重复符号链接器错误,无法使用 Crashlytics 编译