【发布时间】:2015-11-30 14:44:01
【问题描述】:
一点背景:
我在 Libgdx 中开发了一款游戏并将其上传到 iTunes 应用商店。我的应用因以下原因被拒绝:(这不是问题,但我想向您介绍一下我正在努力实现的目标)
> 17.1 Details
Additionally, we noticed that your app does not obtain user consent before collecting the user's personal data.
Specifically, users scores are posted to a high score feature. Please see the attached screenshot(s) for additional information.
Next Steps
To collect personal data with your app, you must make it clear to the user that their personal data will be uploaded to your server and you must obtain the user's consent before the data is uploaded.
- Starting with iOS 6, there are keys for specifying the reason the app will access the user's protected data. When the access prompt is displayed, the purpose specified in these keys is displayed in that dialog box. If your application will be transmitting protected user data, the usage string in your access request should clearly inform the user that their data will be uploaded to your server if they consent.
我的应用只将高分上传到我的服务器。但是,如果 Apple 声明用户应该知道这一点,我会说清楚的。
实际任务:
自从我用 Java 制作了这个应用程序以来,我对 Objective-C 编程一无所知。但我知道 iOS 有一些安全对话框,会提示用户是否可以在应用程序中使用以下功能或数据。
我想调用这种对话框(带有我自己的消息)
我也知道它应该在我的 info.plist 文件中定义,但我不知道如何在运行时访问它并在我的游戏中显示它。
有人知道如何打开它吗?
【问题讨论】:
标签: ios objective-c libgdx