在 iOS 中阅读短信 [英] Read SMS message in iOS

查看:21
本文介绍了在 iOS 中阅读短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名 iOS 开发人员,我曾尝试构建一个具有自动激活功能的移动应用程序,我发现不仅可以读取 SMS 消息,而且只能使用私有 API,这会导致 Apple 拒绝我的应用程序.我有两个问题并感谢任何反馈可以帮助我.

I'm an iOS developer and i have tried to build a mobile application with automatic activation functionality, i found more than way to read SMS message but only using private API which will cause Apple rejection to my app.,i have two questions and appreciate any feedback can help me.

  1. 有没有什么方法可以在 iOS 平台上读取 SMS 消息而不会被苹果拒绝?
  2. 谁能给我提供一下 Apple 开发者文档中的相关部分,说明在 iOS 平台上不允许读取 SMS 消息的部分?

推荐答案

  1. 不,无法读取 SMS 消息.出于隐私方面的考虑,Apple 对此非常严格.
  2. 登录开发者门户并点击App Store 审核指南.

指南中没有任何地方指定您不能访问 SMS.但是您只能在使用不允许的私有方法时才能访问,并且会导致您的应用被拒绝.

Nowhere in the guidelines does it specify that you can't access the SMSes. But you can only access if you use private methods which is not allowed and will get your app rejected.

您只能访问 Apple 为其提供文档化 API 的数据.除非 Apple 为其提供 API,否则您无法访问应用沙盒之外的文件.

You can only access data for which Apple supplies a documented API. You can not access files outside of the Sandbox of your App unless Apple provides an API for it.

这篇关于在 iOS 中阅读短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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